tychxn / jd-assistant

京东抢购助手:包含登录,查询商品库存/价格,添加/清空购物车,抢购商品(下单),查询订单等功能
MIT License
5.18k stars 1.92k forks source link

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

Closed delfws closed 4 years ago

delfws commented 4 years ago

为啥我执行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 commented 4 years ago

可以去安装whl版的cryptodome

delfws commented 4 years ago

好答案