Python 2.4 and 2.5 are installed

Johan Grönqvist johan.gronqvist at gmail.com
Fri Nov 3 08:19:10 UTC 2006


tor 2006-11-02 klockan 15:37 +0100 skrev Duncan Lithgow:
> I upgraded from 6.06 to 6.10 around knot 4, and now one of my apps
> (gramps2.2) is complaining that I should be using python 2.5. So I
> checked in Synaptic and to my surprise found that I have both 2.4 and
> 2.5 installed. If I try and remove Python 2.4 Synaptic wants to take a
> long list of important things with it.
> 
> What do I do?
> 

I use gramps 2.0, so I have not tried this myself:

The executable file for gramps is a script file and can be viewed in a
text-editor. This file starts the program with a line like 
"exec /usr/bin/python $GRAMPSDIR/gramps.py "$@""
That line starts the python interpreter /usr/bin/python with the file
gramps.py. My guess is that you also have python
interpreters /usr/bin/python2.4 and /usr/bin/python2.5.

If you can get the gramps-script to instead execute
using /usr/bin/python2.5, then that might help, but I do not know if all
the libraries will be found correctly. I'm afraid I can not help you
more.

/ johan


> Duncan
> 






More information about the ubuntu-users mailing list