Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am trying to build a Python module (pyfits) but I get the following error:

# python install
  /home/steve/src/pyfits-2.2.2/ DeprecationWarning: os.popen3 is deprecated.  Use the subprocess module.
  (sin, sout, serr) = os.popen3(cmd)
  running install
  error: invalid Python installation: unable to open /usr/lib64/python2.6/config/Makefile (No such file or directory)

I get the same error when I try and build other modules so my guess is I am missing a Python development library. I am running Mandriva 2010.0, any suggestions?

share|improve this question

The module needs python 2.6 and your mandriva 2010.10 either

  1. has the wrong version (check with python -V) of python installed
  2. does not have Python development package (it should be named python-dev python-devel or python-development or something like that) installed
share|improve this answer

Actually you need the package lib64python2.6-devel.

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.