Ask Your Question
0

when i use pip install PROJECTclient error

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

Akalin gravatar image

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

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
0

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

foexle gravatar image

Hi,

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

Cheers Heiko

edit flag offensive delete link more

Comments

thank you!

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 651 times

Last updated: Jan 20 '15