Comment 2 for bug 80298

Revision history for this message
Pawel Tomulik (ptomulik) wrote :

Hi, I had the same problem -- not only with 'scons', but with other packages related to python too
(e.g. blender). I found, that problem is probably in 'pyversions.py', which is a part of 'python-central' and 'python-minimal' on my Debian 'sid'. I did slight change in the 'default_version' function:

line ~ 120:

Instead of:
   link = _default_version = os.readlink('/usr/bin/python')

I put
   link = os.readlink('/usr/bin/python')
  _default_version = os.path.basename(link)

It seems to work, but I can't guarantee, that it doesn't cause any side-effect in python.