[英]Facing problem while installing yappi python package on windows operating system
我收到此错误
ERROR: Command errored out with exit status 1:
command: 'C:\Users\zeeshan\anaconda3\envs\Asynchronous-Federated-Learning-on-Hierarchical-Clusters-main\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\zeeshan\\AppData\\Local\\Temp\\pip-install-xiek07re\\yappi_551fe7f7acf5495c84fb479ceef068c2\\setup.py'"'"'; __file__='"'"'C:\\Users\\zeeshan\\AppData\\Local\\Temp\\pip-install-xiek07re\\yappi_551fe7f7acf5495c84fb479ceef068c2\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\zeeshan\AppData\Local\Temp\pip-wheel-cp94mqyn'
cwd: C:\Users\zeeshan\AppData\Local\Temp\pip-install-xiek07re\yappi_551fe7f7acf5495c84fb479ceef068c2\
Complete output (9 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
copying yappi\yappi.py -> build\lib.win-amd64-3.9
running build_ext
building '_yappi' 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/
----------------------------------------
ERROR: Failed building wheel for yappi
你读过错误吗? 重要部分:
扩展错误:需要 Microsoft Visual C++ 14.0 或更高版本。 使用“Microsoft C++ 构建工具”获取它: https://visualstudio.microsoft.com/visual-cpp-build-tools/
所以 go 到链接。 下载 Microsoft Visual C++ 14 或更高版本。 安装它,然后再次尝试安装 yappi。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.