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 2 2071
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!
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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" );
|
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 it to run
your app?
Chris
|
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 still not clear what to do with an .egg file. For example, if
I have a basic Python installation
(http://www.python.org/ftp/python/2.4.3/python-2.4.3.msi) what should I
do with a typical .egg file (e.g....
|
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 conflicts with server environments where you want to run a daemon
with minimum privileges. Second, it appears to use the real user ID
rather than the effective user ID to choose the home directory. In
this case I'm trying to use start-stop-daemon...
|
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
doesn't need to restart the server ( tomcat ).
Can I do some like using python - I'm using apache mod_python?
thanks a lot
| |
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 is the Python equivalent to CPAN
and finally we're developing an answer.
At PyCon 2007 we need a solid set of talks about eggs, broken down into just
using them, how to build and distribute them, and then an advanced talk on
some of the more...
|
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 independent solution.
Thx in advance, A.
|
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) manually.
But when I was trying to load MySQLdb module, following errors
happened.
Traceback (most recent call last):
|
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
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |