2013-09-27 3 views
3

J'ai essayé d'installer le module Python 2.7 Numpy sur Fedora 19 en utilisant pip:Installation Numpy sur Fedora 19 avec pip

sudo pip install numpy 

Mais je l'erreur suivante:

"Cannot compile 'Python.h'. Perhaps you need to "\ 

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-root/numpy 
Storing complete log in /root/.pip/pip.log 

Comment puis-je résoudre ce problème ?

Merci.

+0

Juste parce que vous ne l'avez pas dit, avez-vous essayé d'installer python-devel avec yum? 'yum installe python-devel' – Othrayte

Répondre

4
sudo yum install python-devel 

Et il doit fonctionner parfaitement.

3

La version de développement des besoins en python à installer:

yum install python-devel 
Questions connexes