[OT] How can I change Debian's default Python version?

F. GEIGER fgeiger at datec.at
Wed Jan 4 13:41:33 EST 2006


Ganesan Rajagopal wrote:

>>>>>> Franz GEIGER <fgeiger at datec.at> writes:
> 
>> Now, when I install Python packages using the convenient Synaptic Package
>> Manager, everything goes into the 2.3-directory-tree. How can I change
>> that?
> 
> That's because synaptic installs packages compiled for the default debian
> python. You have two alternatives:
> 
> 1. Compile the python packages manually.
> 2. Debian already has python 2.4. Install python2.4 using synaptic. Also
>    install any required python2.4-* packages. You will need a symlink to
>    make sure you get python2.4 by default.

How does this symlink have to look like? Is it the one in /usr/bin ? Is this
one enough or are there others to be set as well?

I did

sudo ln -sf python2.4 python

but still don't have wx in 2.4, but only in 2.3!

> 
> Ganesan
> 
> 
> Ganesan
> 
> 
> 

Many thanks and kind regards
Franz




More information about the Python-list mailing list