Hello all - I'm having problems running python scripts. I have (very stable and happy) FC8 kernel 2.6.24.5-85.fc8 (updated 2 days ago).
I get:
Quote:
python setup.py install
running install
error: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)
|
Python has never reared its head for me up til now, & I have never tried running a python script before, so I'm probably missing something:
Quote:
yum whatprovides /usr/lib/python2.5/config/Makefile
planetcore 100% |=========================| 1.9 kB 00:00
livna 100% |=========================| 2.1 kB 00:00
fedora 100% |=========================| 2.1 kB 00:00
planetccrma 100% |=========================| 1.9 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
updates 100% |=========================| 2.3 kB 00:00
Importing additional filelist information
python-devel.i386 : The libraries and header files needed for Python development.
python-devel.i386 : The libraries and header files needed for Python development.
yum list python* |grep -i installed
Installed Packages
python.i386 2.5.1-15.fc8 installed
python-crypto.i386 2.0.1-9.1 installed
python-devel.i386 2.5.1-15.fc8 installed
python-exif.noarch 1.0.7-4.fc8 installed
python-fpconst.noarch 0.7.3-3.fc8.1 installed
python-genshi.noarch 0.4.4-2.fc8 installed
python-imaging.i386 1.1.6-4.fc8 installed
python-iniparse.noarch 0.2.3-3.fc8 installed
python-kid.noarch 0.9.6-2.fc8 installed
python-ldap.i386 2.3.1-1.fc8 installed
python-libs.i386 2.5.1-15.fc8 installed
python-numeric.i386 24.2-6.fc8 installed
python-paste.noarch 1.4.2-1.fc8 installed
python-pyblock.i386 0.30-1 installed
python-reportlab.noarch 2.1-1.fc8 installed
python-setuptools.noarch 0.6c7-2.fc8 installed
python-sexy.i386 0.1.9-3.fc7 installed
python-twisted.noarch 2.4.0-3.fc7 installed
python-twisted-conch.i386 0.8.0-1.fc8 installed
python-twisted-core.i386 2.5.0-2.fc8 installed
python-twisted-lore.i386 0.2.0-4.fc7 installed
python-twisted-mail.i386 0.4.0-1.fc8 installed
python-twisted-names.i386 0.4.0-1.fc8 installed
python-twisted-news.i386 0.3.0-1.fc8 installed
python-twisted-runner.i386 0.2.0-4.fc7 installed
python-twisted-web.i386 0.7.0-1.fc8 installed
python-twisted-words.i386 0.5.0-1.fc8 installed
python-urlgrabber.noarch 3.0.0-3.fc8 installed
python-zope-interface.i386 3.0.1-8.fc8 installed
|
It seems I have python-devel.i386 installed, but I definately don't have the Makefile its looking for, or the config directory (my python files are all in /usr/lib/python2.5/ ). Is there something easy I need to do?