469,628 Members | 1,130 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,628 developers. It's quick & easy.

Python eggs and openSuse 10.2 errors

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/package....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

Mar 15 '07 #1
2 1913
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!

Mar 15 '07 #2
Turd Flop Down M'leg wrote:
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/package....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

Mar 15 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Dan | last post: by
1 post views Thread by Srijit Kumar Bhadra | last post: by
3 posts views Thread by Mike Orr | last post: by
3 posts views Thread by eduardo.rosa | last post: by
reply views Thread by Jeff Rush | last post: by
2 posts views Thread by nisimura | last post: by
3 posts views Thread by Only-Trouble | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.