python setup.py egg_info失败,错误代码为1 [英] python setup.py egg_info failed with error code 1
问题描述
我正在运行Ubuntu 17.04(全新安装),并且已经安装了pip.但是,当我尝试安装任何东西时,都会显示以下内容:
I'm running Ubuntu 17.04 (fresh install) and already installed pip. However, when I try to install anything I get this:
命令"python setup.py egg_info"失败,错误代码为1 /tmp/pip-build-kBfUEp/kivy/
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-kBfUEp/kivy/
根据我要安装的内容,我得到的是相同的东西,但略有不同.例如:
Depending on what I'm installing, I get the same thing but slighty different. For example:
命令"python setup.py egg_info"失败,错误代码为1 /tmp/pip-build-zqj5Ka/pypiwin32/
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zqj5Ka/pypiwin32/
我已经尝试了一切,但我完全不知道如何解决这个问题.
I've tried everything and I have absolute no idea how to solve this.
谢谢.
推荐答案
我遇到了相同的错误,我使用以下代码摆脱了该错误: (我正在开发centOS 7)
I've had the same error, I used the following code to get out of this error: (I was working on centOS 7)
1)sudo yum安装MySQL-devel
1) sudo yum install MySQL-devel
2)sudo yum install openssl-开发
2) sudo yum install openssl - devel
3)sudo yum install python-devel
3) sudo yum install python-devel
我希望这对您有用.
这篇关于python setup.py egg_info失败,错误代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!