speedtest-cli stopped working today?
Peter Flynn
peter at silmaril.ie
Tue Apr 13 15:32:25 UTC 2021
On 12/04/2021 22:45, Jim Byrnes wrote:
> On 4/12/21 4:14 PM, Liam Proven wrote:
>> On Mon, 12 Apr 2021 at 23:07, Jim Byrnes <jf_byrnes at comcast.net> wrote:
>>>
>>> People used to recommend not removing python2 because there were still
>>> system scripts using it. I don't know how relevant that is now.
>>
>> Sure, but the OP said it was not installed and that he installed it.
I should have been more accurate. I originally typed
$ python setup.py
python: command not found.
Then
$ sudo apt install python
led me down a rabbit-hole that revealed there are actually three packages:
python
python-is-python2
python-is-python3
which are packages to get you the right version; but by default,
although apparently mint 20.1 installs python3 correctly, it does NOT
provide the simple command "python".
None of them provide anything called 'setuptools'. However, there does
appear to be a package called python3-setuptools which installs OK.
However, Python is less than useful about installation. Having unzipped
speedtest-cli-master.zip, typing
$ python setup.py
gets me the error message:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
However, the README does contain THE most important piece of
information: download the speedtest-cli-py and make it executable.
End of story.
P
P
More information about the ubuntu-users
mailing list