Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need Python 2.5 for Google App Engine. I downloaded and compiled Python 2.5.5 from sources, set it as default python, but now when I try to run Ubuntu Software Center I get:

ImportError: No module named pygtk

ReInstalling python-gtk2 does not help. What is the easiest and preferred way to get Python 2.5 on Ubuntu 10.10 for App Engine development?

share|improve this question
The issue is because when you run python2.5 it looks in python2.5's site-packages for python modules. You should check out virtualenv: – idbrii Feb 21 '11 at 7:28
I understand this, but I don't know how virtualenv can help me manage different versions of Python (AFAIK it does not do this). The problem is that I have to compile python (2.5) with right params and install all packages required by Ubuntu (I did not succeed in this). Fortunately GAE now supports Python 2.6. – Vladimir Mar 3 '11 at 18:53
up vote 3 down vote accepted

You can get Python 2.5 Packages for Ubuntu 10.10 here:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.