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?

link|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: pypi.python.org/pypi/virtualenv – pydave 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
feedback

1 Answer

up vote 3 down vote accepted

You can get Python 2.5 Packages for Ubuntu 10.10 here:

https://launchpad.net/~fkrull/+archive/deadsnakes

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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