Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have built and installed python2.6.2 in /opt according to these instructions: http://casualengineer.blogspot.com/2009/09/install-python-262-on-centos-53.html#comment-form 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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.