[PyPy-issue] [issue562] Shebangs do not specify a python version

Aaron DeVore pypy-dev-issue at codespeak.net
Wed Nov 24 11:17:07 CET 2010


Aaron DeVore <aaron.devore at gmail.com> added the comment:

I talked to #pypy about this. Changing to:

#!/usr/bin/env python2

only works when the python2 symlink is available. Arch has the python2 symlink
to facilitate Arch's move to Python 3 as the default /usr/bin/python. Other
distros do not. Executables are often named according to their version (e.g.
/usr/bin/python2.6), but without a python2 symlink. Arch users should simply run
Python scripts using:

python2 path/to/script.py

----------
status: chatting -> wontfix

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue562>
_______________________________________________________



More information about the Pypy-issue mailing list