我正在使用Centos 7和Python 2.7.5.问题是当我安装Pandas时,我收到此错误消息
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-21ft0H/pandas
Run Code Online (Sandbox Code Playgroud)
我已经尝试了很多解决方案但是没有成功yum -y update.
我知道有这样的帖子,但是我尝试了很多解决方案,但它们不起作用...所以我想在MAC OS X上构建https://github.com/daid/Cura,但这是行不通的,我的问题是:
当我尝试在我的virtualenv上执行此操作时:
$ pip install -r requirements_darwin.txt
Run Code Online (Sandbox Code Playgroud)
最后他给我一个错误:
$ Command python setup.py egg_info failed with error code 1 in /Users/...
Run Code Online (Sandbox Code Playgroud)
有任何想法吗 ?
我正在尝试运行以下命令:
pip install psycopg2==2.6.1
Run Code Online (Sandbox Code Playgroud)
我得到以下错误:
命令“ python setup.py egg_info”在/ private / var / folders / mk / brv9xsjn14df5th28_k1nphw0000gn / T / pip-build-S1xSB8 / psycopg2中失败,错误代码为1
有没有什么办法解决这一问题?我试过升级pip和升级设置工具都无济于事。
我一直无法在Anaconda环境中安装Keras ......
~$ pip install keras
pip install keras
Collecting keras
Collecting pyyaml (from keras)
Using cached PyYAML-3.12.tar.gz
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/PyYAML.egg-info
writing top-level names to pip-egg-info/PyYAML.egg-info/top_level.txt
writing dependency_links to pip-egg-info/PyYAML.egg-info/dependency_links.txt
writing pip-egg-info/PyYAML.egg-info/PKG-INFO
writing manifest file 'pip-egg-info/PyYAML.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-b74rx7yf/pyyaml/setup.py", line 339, in <module>
cmdclass=cmdclass,
File "/home/bee/anaconda3/envs/roar/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/bee/anaconda3/envs/roar/lib/python3.5/distutils/dist.py", line 955, …Run Code Online (Sandbox Code Playgroud)