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: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ #153

Closed
delfws opened this issue Sep 24, 2020 · 2 comments

Comments

@delfws
Copy link

delfws commented Sep 24, 2020

为啥我执行pip install -r requirements.txt会报这个错误

error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

Running setup.py install for pycryptodome ... error
ERROR: Command errored out with exit status 1:
command: 'd:\system\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-acg3313w\pycryptodome\setup.py'"'"'; file='"'"'C:\Users\Administrator\AppData\Local\Temp\pip-install-acg3313w\pycryptodome\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\Administrator\AppData\Local\Temp\pip-record-jn_ot6pm\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\system\python\Include\pycryptodome'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-acg3313w\pycryptodome\

@xiwuyun
Copy link

xiwuyun commented Sep 24, 2020

可以去安装whl版的cryptodome

@delfws
Copy link
Author

delfws commented Sep 25, 2020

好答案

@delfws delfws closed this as completed Sep 25, 2020
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