On Ubuntu 10.04 I recently installed Python 2.7.1 (ActivePython from ActiveState). I use meld to diff code and had no issues with Python 2.6.5, but after moving to 2.7.1 I get the following error when I execute meld:
Meld requires pygtk 2.8.0 or higher
Looking in Synaptic Package Manager, I have python-gtk2 installed which I believe maps to pygtk, but since meld cannot find it, does that mean it is installed for 2.6.5?
If I run the following:
pip install pygtk
ImportError: No module named dsextras
dsextras seems to be part of PyGObject but if I try to do:
pip install pygobject
I get an error that indicates that this type of installation is only supported on Windows:
Not supported, ok [y/N]? Error: distutils build only supported on windows
What's the recommended way of migrating to a newer Python version? Is it possible to import the packages from 2.6.5 into 2.7.1 or do I risk running into compatibility issues?