Dev-Picayune

picayune: of little value or importance

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 comments

5 Comments so far

  1. Brandon Corfman August 23rd, 2006 8:11 am

    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.

  2. Meawoppl July 4th, 2008 8:25 am

    Also, I would add the packages python-dev and python-devel as _lots_ of egg based packages require them.

  3. Casey May 26th, 2009 9:13 pm

    So how do you “easy” install a local egg file?

  4. Manu June 17th, 2009 4:36 pm

    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

  5. Jonathan July 30th, 2009 12:00 pm

    thanks for the info very useful while installing ipython! :)

Leave a reply

For spam filtering purposes, please copy the number 3066 to the field below: