手动下载和安装:如果使用pip安装仍然失败,你可以尝试从PyPI手动下载包的tar.gz文件,然后解压并进入目录,最后使用以下命令手动安装:python setup.py install。尝试上述方法后,你应该能够解决“Command “python setup.py egg_info“ failed with error code 1”的问题。如果问题仍然存
立即体验 在CentOS环境中,如果你在尝试安装Python包时遇到`Command ‘python setup.py egg_info’ failed with error code 1’的错误,可能是由于多种原因造成的。这个错误通常表示在尝试解析包的元数据时遇到了问题。下面是一些可能的解决方案和排查步骤: 检查Python版本:确保你的CentOS系统上安装的Python版本与你要安...
遇到“command "python setup.py egg_info" failed with error code 1”错误时,通常是由于缺少必要的依赖项、Python版本不兼容或安装环境配置不正确等原因引起的。 解决方法 更新pip: 使用旧版本的pip可能会导致一些安装问题。尝试更新pip到最新版本: bash pip install --upgrade pip 安装依赖项: 检查软件包的依...
比如安装pip install pyparsing==1.5.7出现以下错误: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-WImLdR/pyparsing/ 解决方案 sudo python -m pip install --upgrade --force pip sudo pip install setuptools==33.1.1...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-6kprz019/cryptography/【pip装包报错】 python3 -m pip install paramiko sudo python3 -m pip install --upgrade --force pip python3 -m pip install setuptools==33.1.1...
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\xxx\AppData\Local\Temp\pip-install-yqzlud5w\torch\ 方法一 尝试参考文章:https://mp.weixin.qq.com/s/u5uIjnABGXTJGo4Z3_dZQw 指定安装包的方法,指定安装包进行安装。
Table of Contents 1、报错 2、解决办法 3、结果 4、补充 1、报错 完整报错如下: ERROR: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/ht/3_tnvbcx1z10_rbdcnyntqgc0000gn/T/pip-install-mw7juk0i/xgboost/ ...
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\xxx\AppData\Local\Temp\pip-install-yqzlud5w\torch\ 方法一 尝试参考文章:prompt,输入: conda create -n myroot python=3.5 myroot为自己定义的环境名称,对应的python3.5版本。
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\xxx\AppData\Local\Temp\pip-install-yqzlud5w\torch\ 方法一 尝试参考文章:https://mp.weixin.qq.com/s/u5... 指定安装包的方法,指定安装包进行安装。 方法二 ...
Error:Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-not69mld/pysam/ 使用pip命令之后报错,错误信息如下图: 提示egg_info文件错误 解决原理: 我在装载python3.6的机器上同时也安装了python2.7(软件需要),使用python 3的pip来安装python 2的git包,当然会报错。