灰儿 发表于 2021-7-17 16:58:14

安装库提示Command "python setup.py egg_info" failed with error code

python 3.7版本,我安装pycryptodome库时提示如下错误:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\LXT\AppData\Local\Temp\pip-install-pcjk418p\pycryptodome\


解决方案:
更新插件
python -m pip install --upgrade setupTools
python -m pip install --upgrade pip

速度过慢可修改为清华源:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple

然后成功安装pycryptodome库



页: [1]
查看完整版本: 安装库提示Command "python setup.py egg_info" failed with error code