Unable to build Python modules in Mandriva 2010
Posted
by SteveJ
on Super User
See other posts from Super User
or by SteveJ
Published on 2010-01-14T06:37:26Z
Indexed on
2010/04/15
20:03 UTC
Read the original article
Hit count: 478
I am trying to build a Python module (pyfits) but I get the following error:
# python setup.py install
/home/steve/src/pyfits-2.2.2/stsci_distutils_hack.py:239: 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?
© Super User or respective owner