[英]i have error on pip install src python3.6
我执行命令 pip 安装 src 我不知道什么问题。但我需要 src 用于 github 中的代码
错误:
Collecting src
Using cached src-0.0.7.zip (6.3 kB)
Using legacy 'setup.py install' for src, since package 'wheel' is not installed.
Installing collected packages: src
Running setup.py install for src ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\никитос\appdata\local\programs\python\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\85FC~1\\AppData\\Local\\Temp\\pip-install-8btvg43z\\src_380e8f96e17a48c8aa11f51cebd7b5c0\\setup.py'"'"'; __file__='"'"'C:\\Users\\85FC~1\\AppData\\Local\\Temp\\pip-install-8btvg43z\\src_380e8f96e17a48c8aa11f51cebd7b5c0\\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\85FC~1\AppData\Local\Temp\pip-record-tmhhryto\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\никитос\appdata\local\programs\python\python36\Include\src'
cwd: C:\Users\85FC~1\AppData\Local\Temp\pip-install-8btvg43z\src_380e8f96e17a48c8aa11f51cebd7b5c0\
Complete output (2 lines):
running install
You've probably made a mistake here and are trying to install from a 'src' directory which doesn't exist.
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\никитос\appdata\local\programs\python\python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\85FC~1\\AppData\\Local\\Temp\\pip-install-8btvg43z\\src_380e8f96e17a48c8aa11f51cebd7b5c0\\setup.py'"'"'; __file__='"'"'C:\\Users\\85FC~1\\AppData\\Local\\Temp\\pip-install-8btvg43z\\src_380e8f96e17a48c8aa11f51cebd7b5c0\\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\85FC~1\AppData\Local\Temp\pip-record-tmhhryto\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\никитос\appdata\local\programs\python\python36\Include\src' Check the logs for full command output.
您是否按照规定检查了完整命令 output 的日志? 从日志中查看错误会很有帮助。 可能导致此问题的 2 个可能问题(未查看日志):
如果这仍然不起作用,我建议在此处粘贴日志 output 以便人们可以进一步提供帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.