python - 安装 python eth-wallet 时需要 Visual C++ 错误
问题描述
我正在尝试为 python 安装 eth-wallet。
所以我在终端中输入:
pip install eth-wallet
但:
ERROR: Command errored out with exit status 1:
command: 'C:\Users\심현규\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe' -u -c p\\pip-install-kd6_tp3w\\pysha3_cba2ae34d4084611a948ad1aab052ef7\\setup.py'"'"'; __file__='"'"'C:\\Users\\심현규\\AppData\\Local\\Temkenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"
cwd: C:\Users\심현규\AppData\Local\Temp\pip-install-kd6_tp3w\pysha3_cba2ae34d4084611a948ad1aab052ef7\
Complete output (9 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
copying sha3.py -> build\lib.win-amd64-3.8
running build_ext
building '_pysha3' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downl
----------------------------------------
ERROR: Failed building wheel for pysha3
Running setup.py clean for pysha3
Failed to build pysha3
Installing collected packages: pysha3, mnemonic, ecdsa, eth-wallet
Running setup.py install for pysha3 ... error
ERROR: Command errored out with exit status 1:
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
ERROR: Command errored out with exit status 1: 'C:\Users\심현규\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\심현규\\AppData\\Local\\Temp\\pip-install-kd6_tp3w\\pysha3_cba2ae34d4084611a948ad1aab052ef7\\setup.py'"'"'; __file__='"'"'C:\\Users\\심현규\\AppData\\Local\\Temp\\pip-install-kd6_tp3w\\pysha3_cba2ae34d4084611a948ad1aab052ef7\\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\심현규\AppData\Local\Temp\pip-record-qifj6vo6\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\심현규\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\Include\pysha3' Check the logs for full command output.
我怎样才能解决这个问题?
解决方案
推荐阅读
- css - 在移动设备中隐藏某些图像
- excel - Excel BBG 公式不刷新
- python - 从 Graph 类中提取度数、平均度数
- java - 在 selenium 的活动窗口中未单击 X 图标
- c++ - 在 C++ 中初始化二维向量
- xamarin - 为什么 Navigation.PopAsync() 不触发底层页面的 OnAppearing 方法?
- html - 如何使用 FreeMarker 显示实体?
- python - 使用 shutil.unpack_archive 获取最新解压文件的文件名
- css - 在 Cookie 中保存更改的 CSS 属性?
- machine-learning - 处理逻辑回归的 NaN(缺失)值 - 最佳实践?