Interesting.. Thanks for the report.
However, it may make sense to keep this behavior since I don't think
that the script is compatible with Python 2. I'll have to check it
again. I will likely change the behaviour to explicitly check for Python
3 and fall back to the bourne shell script instead.
On 8/10/20 6:44 PM, Jeffrey Walton wrote:
Hi Everyone/Tim,
Are you guys interested in this? It's from a Ubuntu 4 system. Python
is there, but it is antique.
What I have found is, the best way to check Python's version is
'python -V'. It works on old and new Python.
Jeff
----
Unknown option: --
usage: python [option] ... [-c cmd | file | -] [arg] ...
Try `python -h' for more information.
./bootstrap: Error: 'python' not found
./bootstrap: Please install the prerequisite programs
----
And:
$ python --version
Unknown option: --
$ python -V
Python 2.3.4