我尝试在windows10上安装python3.7.5的web3,但每次都收到这个错误。我不知道我应该做什么,因为我已经安装了"Microsoft Visual C++ 14.0“和构建工具。我也尝试在虚拟环境中安装,但以相同的错误结束。谢谢你的建议。
Building wheel for lru-dict (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Žaneta\\AppData\\Local\\Temp\\pip-install-p2lk_xob\\lru-dict\\setup.py'"'"'; __file__='"'"'C:\\Users\\Žaneta\\AppData\\Local\\Temp\\pip-install-p2lk_xob\\lru-dict\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Žaneta\AppData\Local\Temp\pip-wheel-89ed3hox'
cwd: C:\Users\Žaneta\AppData\Local\Temp\pip-install-p2lk_xob\lru-dict\
Complete output (5 lines):
running bdist_wheel
running build
running build_ext
building 'lru' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------发布于 2020-11-03 17:13:43
问题解决了。Cytoolz支持Python 2.7+和Python 3.4+。我使用的是Python3.8.5,所以现在我在Python3.2上运行,并且安装了Web3
发布于 2021-11-27 03:04:37
给定错误消息:
error: Microsoft Visual C++ 14.0 or greater is required. 您可能只需要Microsoft Visual C++ 14.0或更高版本。
https://stackoverflow.com/questions/64496385
复制相似问题