Using Python egg easy_install with Ubuntu Linux
So being out of touch lately, I realized that there were Python packages that were best installed via eggs and/or the Python Cheese Shop. Being clueless about it all, I managed to get it working (in Ubuntu) fairly easily using the following method:
- Install the python-setuptools package either via the Synaptic Package Manager or just:
sudo apt-get install python-setuptools - Then you can use:
sudo easy_install packagename
It really doesn’t get much easier than that. I guess I just have been in the dark because the major packages I use have debian packages maintained for Ubuntu. But this essentially is an apt-get for Python packages maintained via the Cheese Shop. Mostly, I just wanted to document the Ubuntu part of it while also proving how out of touch I am with the Python community… at least with regard to certain things.
5 comments5 Comments so far
Leave a reply
I’d spotted some postings on Python Eggs while it was being developed, but frankly it wasn’t making a lot of sense at the time. I guess that was because I didn’t know anything about Perl’s CPAN, and it was being compared to that.
Also, I would add the packages python-dev and python-devel as _lots_ of egg based packages require them.
So how do you “easy” install a local egg file?
I have a problem in importing graph
import graph
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named graph
What can I do to figure out this problem?
Any help could be appreciated
~Manu
thanks for the info very useful while installing ipython!