我的 PC 上安装了 Python 3.7,并且还安装了 PIP。我需要安装一个包(auto-py-to-exe),但每次尝试都失败:
Command "c:\users\user\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-hju2c6l9\\gevent\\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\user\AppData\Local\Temp\pip-record-vca2l5gm\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-hju2c6l9\gevent\
我曾尝试卸载 auto-py-to-exe 并重新安装它,但此错误消息不断出现。我也试过其他包,同样的情况发生。
在安装失败后尝试运行 auto-py-to-exe 会出现错误:
raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'gevent' distribution was not found and is required by gevent-websocket
pip install gevent 也像以前一样失败
谢谢你的帮助
(我在 Windows 10 上,运行 python 3.7 和 pip 版本 18.0)
皈依舞
pip安装问题
w7系统安装jdk8出现61003的错误代码无法安装怎么解决
如何安装 feature_engine python 包?
尝试在 Anaconda 中安装 pip 包
相关分类