无法安装行剖析器 - 命令出错,退出状态1。Python3.8, pip

问题描述 投票:-1回答:1

当试图安装 线路分析器 对于Python 3.8中的Python优化,我有一个错误。

ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python38\python.exe' 'c:\users\user\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore
-installed --no-user --prefix 'C:\Users\user\AppData\Local\Temp\pip-build-env-i47tu5u7\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=41
.0.1' wheel Cython 'scikit-build>=0.9.0' cmake ninja Check the logs for full command output.

并且无法安装该包。

python pip line-profiler
1个回答
0
投票

中所说的 github repo 我使用的是离线包。https:/www.lfd.uci.edu~gohlkepythonlibs#line_profiler。下载我当前的Python版本的文件,例如我的情况下,我有Python 3.8。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.