Comment 5 for bug 1715062

Revision history for this message
Colin Watson (cjwatson) wrote :

I'm afraid we don't support running with /usr/bin/python pointing to Python 3. For Python 3 you should use /usr/bin/python3.

I'm reassigning this to python-defaults just because it might be a good idea for /usr/bin/pycompile, /usr/bin/pyclean, and the other scripts shipped by python-minimal to explicitly use /usr/bin/python2 rather than /usr/bin/python, to defend against this kind of thing. It wouldn't make it OK to change /usr/bin/python to be Python 3 on Ubuntu, and you'd probably still run into some other problem later, but it might still be a sensible thing to do in terms of defensive programming.