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

Diez B. Roggisch deets at nospam.web.de
Wed Jan 4 07:03:42 EST 2006


Franz GEIGER wrote:

> When I call the Python interpreter, the Python 2.4.1 version is called,
> because I installed it weeks ago from source by myself. That means the
> symlink /usr/bin/python points to 2.4. Fine.
> 
> 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?

You can't, and shouldn't. However, most packages come with a
python-2.4-version. Install these. That of course means you need the
python-2.4 package installed using debian, not by yourself.


Regards,

Diez



More information about the Python-list mailing list