473,406 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 2065
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Dan | last post by:
Is there a python equivalent of this trick in C? Logic_Test ? True_Result : False_Result Example: printf( "you have %i %s", num_eggs, num_eggs > 1 ? "eggs" : "egg" );
9
by: seberino | last post by:
I have been using distuils for a while and was wondering when Python Eggs (new project) is better? So basically Python Eggs precompiles and compresses binaries for you so you just have to load...
1
by: Srijit Kumar Bhadra | last post by:
I have browsed the following links 1) http://peak.telecommunity.com/DevCenter/EasyInstall 2) When Python *Eggs* better than Python *distutils*?? What's Eggs? (http://tinyurl.com/m8dyd) But I am...
3
by: Mike Orr | last post by:
I'm trying to install a program that uses Durus on a server. It appears that if a Python program uses eggs, it creates a ~/.python-eggs/ directory, so the home directory must be writeable. This...
3
by: eduardo.rosa | last post by:
Hy people, I'm new in python and comming from JAVA. Something I really like in java is the easy way to add a library to the project. Just put the jar file in the folder ( WEB-INF/lib ) and...
0
by: Jeff Rush | last post by:
Eggs are important to Python and will become more so over the next few years, if understood and embraced by the community. They are a key competitive feature - I've been asked so many times what...
9
by: alf | last post by:
Hi, I have a small app which consist of a few .py files. Is there any way to distribute it in jar like fashion as a single file I can just run python on. I obviously look for platform...
2
by: nisimura | last post by:
Hi, I'm trying to use MySQL Python module on Cygwin. Since there is no binary package, I compiled MySQL C client library and Python module (http://sourceforge.net/projects/mysql-python)...
3
by: Only-Trouble | last post by:
Hi all I am running openSUSE 10.3 I am learning python on my own, it seems like the system has already installed a python IDLE The question is how to invoke it? Thanks Only-Trouble
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.