when i use pip install PROJECTclient error

asked 2015-01-19 22:30:10 -0600

Akalin gravatar image

updated 2015-01-19 23:38:34 -0600

can you help me ????

error: Python.h: No such file or directory

#include <python.h>strong text


compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

-----------------------strong text----------------- Cleaning up... Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-p4OMaB-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/netifaces Storing debug log for failure in /root/.pip/pip.log

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-01-20 03:31:59 -0600

foexle gravatar image


just install pyhon2.7-dev packages otherwise the gcc can't build the binaries.

Cheers Heiko

edit flag offensive delete link more


thank you!

Akalin gravatar imageAkalin ( 2015-01-20 08:44:45 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-19 22:30:10 -0600

Seen: 698 times

Last updated: Jan 20 '15