Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2 #94

Closed
max326-coder opened this issue Apr 25, 2020 · 1 comment

Comments

@max326-coder
Copy link

Hi,
I tried this on my computer for google drive " https://youtu.be/5Z-95U0wIMw?list=WL "

and i got this errors
1} Command errored out with exit status 1
2} error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe' failed with exit status 2

Microsoft Windows [Version 10.0.18363.778]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Dhaval>cd downloads

C:\Users\Dhaval\Downloads>cd uds-master

C:\Users\Dhaval\Downloads\uds-master>pip install -r requirements.txt
Requirement already satisfied: tabulate==0.8.2 in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from -r requirements.txt (line 1)) (0.8.2)
Requirement already satisfied: httplib2==0.11.3 in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from -r requirements.txt (line 2)) (0.11.3)
Collecting cryptography==2.3.1
Using cached cryptography-2.3.1.tar.gz (449 kB)
Collecting google_api_python_client==1.7.5
Using cached google_api_python_client-1.7.5-py3-none-any.whl (56 kB)
Collecting oauth2client==4.1.3
Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB)
Collecting tqdm==4.31.1
Using cached tqdm-4.31.1-py2.py3-none-any.whl (48 kB)
Collecting wcwidth
Using cached wcwidth-0.1.9-py2.py3-none-any.whl (19 kB)
Requirement already satisfied: idna>=2.1 in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from cryptography==2.3.1->-r requirements.txt (line 3)) (2.9)
Requirement already satisfied: asn1crypto>=0.21.0 in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from cryptography==2.3.1->-r requirements.txt (line 3)) (1.3.0)
Requirement already satisfied: six>=1.4.1 in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from cryptography==2.3.1->-r requirements.txt (line 3)) (1.14.0)
Requirement already satisfied: cffi!=1.11.3,>=1.7 in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from cryptography==2.3.1->-r requirements.txt (line 3)) (1.14.0)
Collecting google-auth>=1.4.1
Using cached google_auth-1.14.1-py2.py3-none-any.whl (89 kB)
Collecting uritemplate<4dev,>=3.0.0
Using cached uritemplate-3.0.1-py2.py3-none-any.whl (15 kB)
Collecting google-auth-httplib2>=0.0.3
Using cached google_auth_httplib2-0.0.3-py2.py3-none-any.whl (6.3 kB)
Collecting rsa>=3.1.4
Using cached rsa-4.0-py2.py3-none-any.whl (38 kB)
Collecting pyasn1-modules>=0.0.5
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pyasn1>=0.1.7
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Requirement already satisfied: pycparser in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from cffi!=1.11.3,>=1.7->cryptography==2.3.1->-r requirements.txt (line 3)) (2.20)
Requirement already satisfied: setuptools>=40.3.0 in c:\users\dhaval\appdata\local\programs\python\python38-32\lib\site-packages (from google-auth>=1.4.1->google_api_python_client==1.7.5->-r requirements.txt (line 4)) (41.2.0)
Collecting cachetools<5.0,>=2.0.0
Using cached cachetools-4.1.0-py3-none-any.whl (10 kB)
Installing collected packages: cryptography, pyasn1, rsa, pyasn1-modules, cachetools, google-auth, uritemplate, google-auth-httplib2, google-api-python-client, oauth2client, tqdm, wcwidth
Running setup.py install for cryptography ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\dhaval\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Dhaval\AppData\Local\Temp\pip-install-v1yfdbta\cryptography\setup.py'"'"'; file='"'"'C:\Users\Dhaval\AppData\Local\Temp\pip-install-v1yfdbta\cryptography\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Dhaval\AppData\Local\Temp\pip-record-xiw8ehch\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\dhaval\appdata\local\programs\python\python38-32\Include\cryptography'
cwd: C:\Users\Dhaval\AppData\Local\Temp\pip-install-v1yfdbta\cryptography
Complete output (109 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\cryptography
copying src\cryptography\exceptions.py -> build\lib.win32-3.8\cryptography
copying src\cryptography\fernet.py -> build\lib.win32-3.8\cryptography
copying src\cryptography\utils.py -> build\lib.win32-3.8\cryptography
copying src\cryptography_about_.py -> build\lib.win32-3.8\cryptography
copying src\cryptography_init_.py -> build\lib.win32-3.8\cryptography
creating build\lib.win32-3.8\cryptography\hazmat
copying src\cryptography\hazmat_init_.py -> build\lib.win32-3.8\cryptography\hazmat
creating build\lib.win32-3.8\cryptography\x509
copying src\cryptography\x509\base.py -> build\lib.win32-3.8\cryptography\x509
copying src\cryptography\x509\certificate_transparency.py -> build\lib.win32-3.8\cryptography\x509
copying src\cryptography\x509\extensions.py -> build\lib.win32-3.8\cryptography\x509
copying src\cryptography\x509\general_name.py -> build\lib.win32-3.8\cryptography\x509
copying src\cryptography\x509\name.py -> build\lib.win32-3.8\cryptography\x509
copying src\cryptography\x509\oid.py -> build\lib.win32-3.8\cryptography\x509
copying src\cryptography\x509_init_.py -> build\lib.win32-3.8\cryptography\x509
creating build\lib.win32-3.8\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win32-3.8\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends_init_.py -> build\lib.win32-3.8\cryptography\hazmat\backends
creating build\lib.win32-3.8\cryptography\hazmat\bindings
copying src\cryptography\hazmat\bindings_init_.py -> build\lib.win32-3.8\cryptography\hazmat\bindings
creating build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\mac.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\serialization.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives_init_.py -> build\lib.win32-3.8\cryptography\hazmat\primitives
creating build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\aead.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dh.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x25519.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl_init_.py -> build\lib.win32-3.8\cryptography\hazmat\backends\openssl
creating build\lib.win32-3.8\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win32-3.8\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl_conditional.py -> build\lib.win32-3.8\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl_init_.py -> build\lib.win32-3.8\cryptography\hazmat\bindings\openssl
creating build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\x25519.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric_init_.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\asymmetric
creating build\lib.win32-3.8\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\aead.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers_init_.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\ciphers
creating build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\scrypt.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf_init_.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\kdf
creating build\lib.win32-3.8\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor_init_.py -> build\lib.win32-3.8\cryptography\hazmat\primitives\twofactor
running egg_info
writing src\cryptography.egg-info\PKG-INFO
writing dependency_links to src\cryptography.egg-info\dependency_links.txt
writing requirements to src\cryptography.egg-info\requires.txt
writing top-level names to src\cryptography.egg-info\top_level.txt
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'
running build_ext
generating cffi module 'build\temp.win32-3.8\Release\_padding.c'
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
generating cffi module 'build\temp.win32-3.8\Release\_constant_time.c'
generating cffi module 'build\temp.win32-3.8\Release\_openssl.c'
building '_openssl' extension
creating build\temp.win32-3.8\Release\build
creating build\temp.win32-3.8\Release\build\temp.win32-3.8
creating build\temp.win32-3.8\Release\build\temp.win32-3.8\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\dhaval\appdata\local\programs\python\python38-32\include -Ic:\users\dhaval\appdata\local\programs\python\python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcbuild\temp.win32-3.8\Release_openssl.c /Fobuild\temp.win32-3.8\Release\build\temp.win32-3.8\Release_openssl.obj
_openssl.c
build\temp.win32-3.8\Release_openssl.c(546): fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\dhaval\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Dhaval\AppData\Local\Temp\pip-install-v1yfdbta\cryptography\setup.py'"'"'; file='"'"'C:\Users\Dhaval\AppData\Local\Temp\pip-install-v1yfdbta\cryptography\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Dhaval\AppData\Local\Temp\pip-record-xiw8ehch\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\dhaval\appdata\local\programs\python\python38-32\Include\cryptography' Check the logs for full command output.

@catanzaromj
Copy link
Contributor

We now provide windows wheels. If this is still a problem, please make a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants