Python eggs and openSuse 10.2 errors

  • Thread starter Turd Flop Down M'leg
  • Start date
T

Turd Flop Down M'leg

Heyas

So I got all hooked on python eggs at pycon, but then I got all hooked
on openSuse 10.2 (with the xgl cube and the beryl fanciness, and some
other misc debris). Unfortunately, it doesnt appear that openSuse
10.2, which is using python 2.5, wants to play nicely with python
eggs. When I try to run `sudo python ez_setup.py`, I simply get an
error:
Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6c5-py2.5.egg
error: invalid Python installation: unable to open /usr/lib/
python2.5/config/Makefile (No such file or directory)

The /usr/lib/python2.5/config directory didnt exist, so I tried
creating it but with no change in results.


Thanks,
Tfdml
 
T

Turd Flop Down M'leg

Ahh bother...

After messing around with yast, I realized that I didnt have the
python dev packages installed. Once I installed them with yast, I
just had to create a directory 'site-packages' under /usr/local/lib/
python2.5 and it all worked fine...

Bah!
 
R

Robert Kern

Turd said:
Heyas

So I got all hooked on python eggs at pycon, but then I got all hooked
on openSuse 10.2 (with the xgl cube and the beryl fanciness, and some
other misc debris). Unfortunately, it doesnt appear that openSuse
10.2, which is using python 2.5, wants to play nicely with python
eggs. When I try to run `sudo python ez_setup.py`, I simply get an
error:
Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6c5-py2.5.egg
error: invalid Python installation: unable to open /usr/lib/
python2.5/config/Makefile (No such file or directory)

The /usr/lib/python2.5/config directory didnt exist, so I tried
creating it but with no change in results.

You need to install the development package for python. It should be called
python2.5-devel or something similar.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,042
Latest member
icassiem

Latest Threads

Top