|
From: | Darshit Shah |
Subject: | Re: Wget2 bootstrap and "Unknown option: --" |
Date: | Mon, 10 Aug 2020 19:01:20 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |