Comment 9 for bug 137625

Revision history for this message
Timmie (timmie) wrote :

Hi,
first thanks you for looking into my problem that extensively.

I already noticed that I have the 2 Python versions.
But there are programs that still rely on these:

$: sudo apt-get remove python2.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgdal1-grass
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libqgis0 python-all python-all-dev python2.4 python2.4-dev
  python2.4-examples qgis qgis-plugin-grass scribus scribus-template
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 75.1MB disk space will be freed.
Do you want to continue [Y/n]?

I'd like to maintain these programs.

I had this conflict in various ocasions like when I wanted to start a develpment version of a program that uses wxpython. python always uses the python2.4 version of wxpython whereas the program would need the 2.5 version...

I had already reported this problem in the forums:
python runtime warning
http://ubuntuforums.org/showthread.php?t=543205

I don't know what to do because I am not a fulltime coder and only a python beginner.

Should I define the $PYTHON variable as in this thread here:
http://www.nabble.com/Python-C-API-version-mismatch-tf1393711.html#a3746481

Thanks again and regards!