又来当配环境博主了

问题

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-T7syzm/pefile/

环境:
Ubuntu18.04
python2.7.17 (使用 sudo apt install python2.7 命令安装的python2
pip 9.0.* (使用 sudo apt install python-pip 命令安装的pip

在输入命令 pip install xxx 的时候报上述错误

解决

是版本不匹配导致的问题, Stack Overflow上的答案试了一圈组合以后才解决
尝试更新 setuptools, pip, 执行以下命令 (这里的python需要是python2

pip install --upgrade setuptools
python -m pip install --upgrade pip

Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-T7syzm/pefile/相关推荐

  1. pip安装软件时出现Command python setup.py egg_info failed with error code 1 in /tmp/pip-build*的解决方案

    本文只提供本人的一些经验,不代表可以解决所有人的问题. pip安装软件时出现:Command "python setup.py egg_info" failed with erro ...

  2. 安装matplotlib时,报错Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-gvyzl2

    安装matplotlib 报错: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-b ...

  3. Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-buil

    出现 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-buil 执行 pip3 in ...

  4. Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-5z0k7aoz/pynacl/

    pip install下载工具时报错,出现: Command "python setup.py egg_info" failed with error code 1 in /tmp ...

  5. 安装 opencv-python 出现Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-npa

    安装 opencv-python 出现 Command "python setup.py egg_info" failed with error code 1 in /tmp/pi ...

  6. ubuntu16.04更新pip出现Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-Yjy7

    1. 先卸载安装的python-pip(我这步直接显示参数 python-pip 没有匹配,不删除任何软件包) sudo yum remove python-pip 如果显示sudo: yum:找不到 ...

  7. Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-q_eqh7d5/Pillow/

    在执行"pip install Augmentor"命令时,遇到以下错误: Command "python setup.py egg_info" failed ...

  8. Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-GVQWxt/ipython/

    在虚拟环境virtualenv中安装ipython时出现Command "python setup.py egg_info" failed with error code 1 in ...

  9. Command python setup.py egg_info failed with error code 1 in /tmp/pip-install-skj59oz0/mysqlclient

    使用pip3 install mysqlclient时,报出下面的错误: Command "python setup.py egg_info" failed with error ...

最新文章

  1. Js touchg事件在移动端网页中左右滑动效果
  2. java后期发展方向_2020年前3季度工程自卸车市场咋样?后期朝啥方向发展?
  3. linux中chmod与chown两个命令详解
  4. OPC向UNIX的演进(OPC evolution toward UNIX)
  5. 通俗讲清楚为什么使用信息熵增益比而不是信息熵增益?
  6. 回调函数中有回调函数吗_嗨,那里有回调!
  7. java 堆转储快照_Java堆转储:您可以完成任务吗?
  8. 机器学习领域有哪一些值得关注的人
  9. 图书管理系统详细设计说明书_书城管理系统不同模块在图书管理中体现不同作用...
  10. php判断字段重复,删除完全重复和部分关键字段重复的记录
  11. 网络学习(一)网络版块主题介绍
  12. EasyClick 命令区域截图
  13. 净推荐值(NPS):用户忠诚度测量的基本原理及方法
  14. 浏览器上不去网络。需要进入ie点开Internet选项,网络中,局域网(LAN)设置,可以勾选上自动检测设置
  15. 未转变者服务器载具名称,未转变者可以乘坐哪些车及载具参数介绍
  16. 2021年最佳Selenium替代品
  17. 面试时,被问到职业规划如何作答?
  18. Hadoop技术优缺点详解
  19. 霍兰德air适合学计算机吗,霍兰德职业兴趣测验(含职业代码)
  20. 简单的学生网页作业源码 基于html css javascript仿淘宝购物商城设计毕业论文源码

热门文章

  1. Scala中下划线“_”的用法小结
  2. 大话西游2服务器维护公告,《新大话西游2》2016年7月21日停机维护公告
  3. Black Re-ID 黑衣人重识别
  4. 程序员卷起来,35岁怎么惨,但怎么还这么多钱?
  5. ORCA msi修改工具 解决 msn 卡巴斯基 iTune等不能在Windows Server 2003下安装的问题
  6. 日本最大菜谱网站Cookpad微服务经验总结
  7. 【Three.js入门】渲染第一个场景及物体(轨道控制器、坐标轴辅助器、移动缩放旋转)
  8. java selenium回车键_使用Python和Selenium输入Enter / Return键?
  9. python+vue宠物分享网站flask
  10. HBase是怎样找到某个rowkey