Change: Change Default Python Version

created on Oct. 16, 2012, 7:25 p.m. by Hevok & updated on Oct. 16, 2012, 7:25 p.m. by Hevok

The default Python version can easily be defined.

Lets assume we want to switch from Python2.6 to Python2.7

First, edit the /usr/share/python/debian_defaults and change the default version arg to python2.7

Then: ::

sudo mv /usr/bin/python /usr/bin/python26
sudo ln -s /usr/bin/python2.7 /usr/bin/python
python-logo-inkscape-small-2.png

Categories: Tutorial
Parent: Python

Comment: Created entry.

See entry | Admin

Comment on This Data Unit