Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have built and installed python2.6.2 in /opt according to these instructions: but for some reason my pip and easy install can't find /opt/python2.6/include/python2.6/Python.h

How do I tell these utils where to find the 2.6 header files?

share|improve this question

I am not familiar with pip or easy install but my guess is that /opt/python2.6/include is not hardcoded in those two app installers. It probably just searches /usr/include and /usr/local/include. Try creating an alias to the python2.6 directory in /usr/include or something like that or check the flags for ./configure on those apps. You might be able to specify a directory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.