Open bidoule opened 8 years ago
The first problem seems to be resolved but the issue where the pythonz executable calls python
still occurs here which stops pythonz from working on CentOS 8 too.
For now, I've edited the installed file and updated python
to python3
and everything seems to be OK so far.
I've got the same problem as @fgimian , proposed a fix here: https://github.com/saghul/pythonz/pull/177
Installing pythonz on a system with python3 only (Ubuntu 16.04 for exemple) is difficult. Yet, the first thing I want to do on such a system is installing python2 with pythonz.
The install script contains the line
PYTHONS="
command -v python/usr/bin/python /usr/bin/python2"
but on Ubuntu 16.04, only /usr/bin/python3 exists. The option--python
is also not documented. This option was enough for me to get pythonz-install working.Moreover, once the installation is finished, the pythonz executable contains:
python /usr/local/pythonz/scripts/pythonz_main.py "$@"
So it's not working on Ubuntu 16.04 I think thatpython
should be replaced by whatever was chosen during the installation (by the option--python
or by the linePYTHONS=...
above).