Fix for ValueError: the symlink /usr/bin/python does not point to the python default version
Posted by admin on February 9th, 2008
Email This Post
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
ValueError: the symlink /usr/bin/python does not point to the python default version. It must be reset to point to python2.5
This is because by default Gutsy Gibbon will come with python version 2.5 so we need to downgrade this version to 2.4
Here’s how to downgrade your default version in gutsy to Python 2.4 without those errors.
Caution :- This is only work around and after changing this other programs may not work
If you haven’t already, symlink /usr/bin/python to /usr/bin/python2.4
sudo ln -s /usr/bin/python2.4 /usr/bin/python
Edit your /usr/share/python/debian_defaults/ file
sudo vi /usr/share/python/debian_defaults
The initial few lines should read
[DEFAULT]
# the default python version
default-version = python2.5
Change the above line to the following
default-version = python2.4
Save and exit the file
Then try to install your application again it should work without any problem


