Python default version errors
Posted
by
Robus
on Server Fault
See other posts from Server Fault
or by Robus
Published on 2012-04-02T18:22:17Z
Indexed on
2012/04/11
23:33 UTC
Read the original article
Hit count: 416
For a while I've been getting this error while doing anything apt-get
related:
Preparing to replace python-cairo 1.4.12-1.2 (using .../python-cairo_1.8.8-1+b1_i386.deb) ...
Traceback (most recent call last):
[...]
File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.6.6
Whereas
robus:/# /usr/bin/python -V
Python 2.6.6
How do I fix this? I did try fixing symlinks, but then I keep getting 'too many symlink levels' errors.
© Server Fault or respective owner