# speedtest Retrieving speedtest.net configuration... Traceback (most recent call last): File "/usr/bin/speedtest", line 11, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/speedtest.py", line 1884, in main shell() File "/usr/lib/python2.7/site-packages/speedtest.py", line 1780, in shell secure=args.secure File "/usr/lib/python2.7/site-packages/speedtest.py", line 1027, in __init__ self.get_config() File "/usr/lib/python2.7/site-packages/speedtest.py", line 1113, in get_config map(int, server_config['ignoreids'].split(',')) ValueError: invalid literal for int() with base 10: ''
$ speedtest --server 33680 Retrieving speedtest.net configuration... Traceback (most recent call last): File "/usr/local/bin/speedtest", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.6/site-packages/speedtest.py", line 1986, in main shell() File "/usr/local/lib/python3.6/site-packages/speedtest.py", line 1875, in shell secure=args.secure File "/usr/local/lib/python3.6/site-packages/speedtest.py", line 1091, in __init__ self.get_config() File "/usr/local/lib/python3.6/site-packages/speedtest.py", line 1174, in get_config map(int, server_config['ignoreids'].split(',')) ValueError: invalid literal for int() with base 10: ''
Please update SpeedTest CLI
python3 -m pip install --upgrade speedtest-cli
or
python2 -m pip install --upgrade speedtest-cli
# python3 -m pip install --upgrade speedtest-cli WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting speedtest-cli Downloading https://files.pythonhosted.org/packages/9f/39/65259b7054368b370d3183762484fa2c779ddc41633894d895f9d1720f45/speedtest_cli-2.1.3-py2.py3-none-any.whl Installing collected packages: speedtest-cli Found existing installation: speedtest-cli 2.1.2 Uninstalling speedtest-cli-2.1.2: Successfully uninstalled speedtest-cli-2.1.2 Successfully installed speedtest-cli-2.1.3