error: command 'C:\\Users\\Mrchang\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Pyt
2016-09-18 15:42
561 查看
安装scrapy异常解决办法:
set
STATICBUILD=true && pip install lxml
异常信息:
Collecting
Scrapy==1.1.1
Downloading Scrapy-1.1.1-py2.py3-none-any.whl (295kB)
Collecting service-identity (from Scrapy==1.1.1)
Using cached service_identity-16.0.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): cssselect>=0.9 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): queuelib in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): lxml in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Collecting pyOpenSSL (from Scrapy==1.1.1)
Using cached pyOpenSSL-16.1.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): w3lib>=1.14.2 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Collecting parsel>=0.9.3 (from Scrapy==1.1.1)
Using cached parsel-1.0.3-py2.py3-none-any.whl
Collecting PyDispatcher>=2.0.5 (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): Twisted>=10.0.0 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Collecting pyasn1-modules (from service-identity->Scrapy==1.1.1)
Using cached pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting attrs (from service-identity->Scrapy==1.1.1)
Using cached attrs-16.2.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pyasn1 in c:\python27\lib\site-packages (from service-identity->Scrapy==1.1.1)
Collecting cryptography>=1.3.4 (from pyOpenSSL->Scrapy==1.1.1)
Using cached cryptography-1.5.tar.gz
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in c:\python27\lib\site-packages (from Twisted>=10.0.0->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): enum34 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): ipaddress in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): pycparser in c:\python27\lib\site-packages (from cffi>=1.4.1->cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Building wheels for collected packages: cryptography
Running setup.py bdist_wheel for cryptography
Complete output from command C:\Python27\python.exe -c "import setuptools;__file__='C:\\Users\\Mrchang\\AppData\\Local\\Temp\\pycharm-packaging\\cryptography\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel
-d c:\users\mrchang\appdata\local\temp\tmpdtin73pip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\cryptography
copying src\cryptography\exceptions.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\fernet.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\utils.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\__about__.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\__init__.py -> build\lib.win32-2.7\cryptography
creating build\lib.win32-2.7\cryptography\hazmat
copying src\cryptography\hazmat\__init__.py -> build\lib.win32-2.7\cryptography\hazmat
creating build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\base.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\extensions.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\general_name.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\name.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\oid.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\__init__.py -> build\lib.win32-2.7\cryptography\x509
creating build\lib.win32-2.7\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win32-2.7\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\multibackend.py -> build\lib.win32-2.7\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\backends
creating build\lib.win32-2.7\cryptography\hazmat\bindings
copying src\cryptography\hazmat\bindings\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\bindings
creating build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\serialization.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
creating build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\backend.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\ciphers.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\hashes.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\hmac.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
creating build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
creating build\lib.win32-2.7\cryptography\hazmat\bindings\commoncrypto
copying src\cryptography\hazmat\bindings\commoncrypto\binding.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\commoncrypto
copying src\cryptography\hazmat\bindings\commoncrypto\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\commoncrypto
creating build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\_conditional.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
creating build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
creating build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
creating build\lib.win32-2.7\cryptography\hazmat\primitives\interfaces
copying src\cryptography\hazmat\primitives\interfaces\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\interfaces
creating build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
creating build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
running egg_info
writing requirements to src\cryptography.egg-info\requires.txt
writing src\cryptography.egg-info\PKG-INFO
writing top-level names to src\cryptography.egg-info\top_level.txt
writing dependency_links to src\cryptography.egg-info\dependency_links.txt
writing entry points to src\cryptography.egg-info\entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
generating cffi module 'build\\temp.win32-2.7\\Release\\_padding.c'
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
generating cffi module 'build\\temp.win32-2.7\\Release\\_constant_time.c'
generating cffi module 'build\\temp.win32-2.7\\Release\\_openssl.c'
building '_openssl' extension
creating build\temp.win32-2.7\Release\build
creating build\temp.win32-2.7\Release\build\temp.win32-2.7
creating build\temp.win32-2.7\Release\build\temp.win32-2.7\Release
C:\Users\Mrchang\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcbuild\temp.win32-2.7\Release\_openssl.c /Fobuild\temp.win32-2.7\Release\build\temp.win32-2.7\Release\_openssl.obj
_openssl.c
build\temp.win32-2.7\Release\_openssl.c(433) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
error: command 'C:\\Users\\Mrchang\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
----------------------------------------
Failed to build cryptography
Installing collected packages: cryptography, pyOpenSSL, pyasn1-modules, attrs, service-identity, parsel, PyDispatcher, Scrapy
Running setup.py install for cryptography
Complete output from command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Mrchang\\AppData\\Local\\Temp\\pycharm-packaging\\cryptography\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record c:\users\mrchang\appdata\local\temp\pip-0ade5u-record\install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
running egg_info
writing requirements to src\cryptography.egg-info\requires.txt
writing src\cryptography.egg-info\PKG-INFO
writing top-level names to src\cryptography.egg-info\top_level.txt
writing dependency_links to src\cryptography.egg-info\dependency_links.txt
writing entry points to src\cryptography.egg-info\entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
generating cffi module 'build\\temp.win32-2.7\\Release\\_padding.c'
already up-to-date
generating cffi module 'build\\temp.win32-2.7\\Release\\_constant_time.c'
already up-to-date
generating cffi module 'build\\temp.win32-2.7\\Release\\_openssl.c'
already up-to-date
building '_openssl' extension
C:\Users\Mrchang\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcbuild\temp.win32-2.7\Release\_openssl.c /Fobuild\temp.win32-2.7\Release\build\temp.win32-2.7\Release\_openssl.obj
_openssl.c
build\temp.win32-2.7\Release\_openssl.c(433) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
error: command cl.exe failed with exit status 2
----------------------------------------
Failed building wheel for cryptography
Command "C:\Python27\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Mrchang\\AppData\\Local\\Temp\\pycharm-packaging\\cryptography\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record c:\users\mrchang\appdata\local\temp\pip-0ade5u-record\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\Mrchang\AppData\Local\Temp\pycharm-packaging\cryptography
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
set
STATICBUILD=true && pip install lxml
异常信息:
Collecting
Scrapy==1.1.1
Downloading Scrapy-1.1.1-py2.py3-none-any.whl (295kB)
Collecting service-identity (from Scrapy==1.1.1)
Using cached service_identity-16.0.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): cssselect>=0.9 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): queuelib in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): lxml in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Collecting pyOpenSSL (from Scrapy==1.1.1)
Using cached pyOpenSSL-16.1.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): w3lib>=1.14.2 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Collecting parsel>=0.9.3 (from Scrapy==1.1.1)
Using cached parsel-1.0.3-py2.py3-none-any.whl
Collecting PyDispatcher>=2.0.5 (from Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): Twisted>=10.0.0 in c:\python27\lib\site-packages (from Scrapy==1.1.1)
Collecting pyasn1-modules (from service-identity->Scrapy==1.1.1)
Using cached pyasn1_modules-0.0.8-py2.py3-none-any.whl
Collecting attrs (from service-identity->Scrapy==1.1.1)
Using cached attrs-16.2.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pyasn1 in c:\python27\lib\site-packages (from service-identity->Scrapy==1.1.1)
Collecting cryptography>=1.3.4 (from pyOpenSSL->Scrapy==1.1.1)
Using cached cryptography-1.5.tar.gz
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in c:\python27\lib\site-packages (from Twisted>=10.0.0->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): enum34 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): ipaddress in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in c:\python27\lib\site-packages (from cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Requirement already satisfied (use --upgrade to upgrade): pycparser in c:\python27\lib\site-packages (from cffi>=1.4.1->cryptography>=1.3.4->pyOpenSSL->Scrapy==1.1.1)
Building wheels for collected packages: cryptography
Running setup.py bdist_wheel for cryptography
Complete output from command C:\Python27\python.exe -c "import setuptools;__file__='C:\\Users\\Mrchang\\AppData\\Local\\Temp\\pycharm-packaging\\cryptography\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel
-d c:\users\mrchang\appdata\local\temp\tmpdtin73pip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\cryptography
copying src\cryptography\exceptions.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\fernet.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\utils.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\__about__.py -> build\lib.win32-2.7\cryptography
copying src\cryptography\__init__.py -> build\lib.win32-2.7\cryptography
creating build\lib.win32-2.7\cryptography\hazmat
copying src\cryptography\hazmat\__init__.py -> build\lib.win32-2.7\cryptography\hazmat
creating build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\base.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\extensions.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\general_name.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\name.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\oid.py -> build\lib.win32-2.7\cryptography\x509
copying src\cryptography\x509\__init__.py -> build\lib.win32-2.7\cryptography\x509
creating build\lib.win32-2.7\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win32-2.7\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\multibackend.py -> build\lib.win32-2.7\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\backends
creating build\lib.win32-2.7\cryptography\hazmat\bindings
copying src\cryptography\hazmat\bindings\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\bindings
creating build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\serialization.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives
creating build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\backend.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\ciphers.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\hashes.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\hmac.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
copying src\cryptography\hazmat\backends\commoncrypto\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\backends\commoncrypto
creating build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\backends\openssl
creating build\lib.win32-2.7\cryptography\hazmat\bindings\commoncrypto
copying src\cryptography\hazmat\bindings\commoncrypto\binding.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\commoncrypto
copying src\cryptography\hazmat\bindings\commoncrypto\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\commoncrypto
creating build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\_conditional.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\bindings\openssl
creating build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\asymmetric
creating build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\ciphers
creating build\lib.win32-2.7\cryptography\hazmat\primitives\interfaces
copying src\cryptography\hazmat\primitives\interfaces\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\interfaces
creating build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\kdf
creating build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\__init__.py -> build\lib.win32-2.7\cryptography\hazmat\primitives\twofactor
running egg_info
writing requirements to src\cryptography.egg-info\requires.txt
writing src\cryptography.egg-info\PKG-INFO
writing top-level names to src\cryptography.egg-info\top_level.txt
writing dependency_links to src\cryptography.egg-info\dependency_links.txt
writing entry points to src\cryptography.egg-info\entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
generating cffi module 'build\\temp.win32-2.7\\Release\\_padding.c'
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
generating cffi module 'build\\temp.win32-2.7\\Release\\_constant_time.c'
generating cffi module 'build\\temp.win32-2.7\\Release\\_openssl.c'
building '_openssl' extension
creating build\temp.win32-2.7\Release\build
creating build\temp.win32-2.7\Release\build\temp.win32-2.7
creating build\temp.win32-2.7\Release\build\temp.win32-2.7\Release
C:\Users\Mrchang\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcbuild\temp.win32-2.7\Release\_openssl.c /Fobuild\temp.win32-2.7\Release\build\temp.win32-2.7\Release\_openssl.obj
_openssl.c
build\temp.win32-2.7\Release\_openssl.c(433) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
error: command 'C:\\Users\\Mrchang\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
----------------------------------------
Failed to build cryptography
Installing collected packages: cryptography, pyOpenSSL, pyasn1-modules, attrs, service-identity, parsel, PyDispatcher, Scrapy
Running setup.py install for cryptography
Complete output from command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Mrchang\\AppData\\Local\\Temp\\pycharm-packaging\\cryptography\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record c:\users\mrchang\appdata\local\temp\pip-0ade5u-record\install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
running egg_info
writing requirements to src\cryptography.egg-info\requires.txt
writing src\cryptography.egg-info\PKG-INFO
writing top-level names to src\cryptography.egg-info\top_level.txt
writing dependency_links to src\cryptography.egg-info\dependency_links.txt
writing entry points to src\cryptography.egg-info\entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*' found under directory 'vectors'
writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
generating cffi module 'build\\temp.win32-2.7\\Release\\_padding.c'
already up-to-date
generating cffi module 'build\\temp.win32-2.7\\Release\\_constant_time.c'
already up-to-date
generating cffi module 'build\\temp.win32-2.7\\Release\\_openssl.c'
already up-to-date
building '_openssl' extension
C:\Users\Mrchang\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcbuild\temp.win32-2.7\Release\_openssl.c /Fobuild\temp.win32-2.7\Release\build\temp.win32-2.7\Release\_openssl.obj
_openssl.c
build\temp.win32-2.7\Release\_openssl.c(433) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
error: command cl.exe failed with exit status 2
----------------------------------------
Failed building wheel for cryptography
Command "C:\Python27\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Mrchang\\AppData\\Local\\Temp\\pycharm-packaging\\cryptography\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record c:\users\mrchang\appdata\local\temp\pip-0ade5u-record\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\Mrchang\AppData\Local\Temp\pycharm-packaging\cryptography
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
相关文章推荐
- error: command 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Common\\Micr osoft\\Visual C++ f
- :-1: error: cannot open C:\Users\<username>\AppData\Local\Temp\main.obj.5136.0.jom for write
- Error: cannot open C:\Users\(用户名)\AppData\Local\Temp\internaljobs.obj.5628.140.jom for write
- :-1: error: cannot open C:\Users\???\AppData\Local\Temp\main.obj.5136.0.jom for write :QT的中文路不兼容问题
- 用vs2010打开项目,或许直接打开,会提示C:/Users/Administrator/AppData/Roaming/Microsoft/VisualStudio/10.0/ActivityLog
- Microsoft Visual C++ Runtime library not enough space for thread data
- Delphi 2006-2010 error: “Cannot create file C:\Users\Admin\AppData\Local\Temp\EditorLineEnds.ttr”
- Error:The SDK directory 'C:\Users\Darko\AppData\Local\Android\sdk' does not exist. Please fix the 's
- Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Looked here: C:\Users\Administrator\AppData\Local\Android\sdk\tools\templates\gradle\wrapper
- vs2010 'C:\Users\Administrator\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'错误
- nagios 页面发送命令异常 Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
- 启动VS2010报错:The Environment variable LocalAppData must be manually configured for Windows XP and Windows Server 2003
- 无法打开模块文件“C:\Users\sq\AppData\Local\Temp\.NETFramework,Version=v4.5,AssemblyAttributes.vb”:系统找不到指定的文件
- vs2010 command prompt 运行时停在Setting environment for using Microsoft Visual Studio 2010 x86 tools.
- \AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props 错误
- [App]Microsoft Visual C++ 6.0 + SP6 英文版
- 「拒絕存取路徑 'C:\Users\xxx\AppData\Local\Temp\Temporary ASP.NET Files\apname\3a1b3704\f7fc6d0c\App_Code.l8ieogii.0.cs」的錯誤!
- c++中出现error LNK1123: 转换到 COFF 期间失败的错误解决办法及Microsoft Visual Studio 安装
- STLport README for Microsoft Visual C++ compilers[转]
- FB Flash Builder 安装错误 ERROR: DW050: - Microsoft Visual C++ 2010 Redistributable Package (x86): Install failed