安装速度测试客户端后出现错误该如何解决?

安装速度测试客户端后出现错误该如何解决?

安装速度测试客户端后出现错误该如何解决?

安装速度测试后出错

我确实使用以下命令安装了它:

sudo apt install speedtest-cli && speedtest-cli

安装过程中没有发生错误,但运行后出现此错误,我必须重试几次。


# speedtest-cli
Retrieving speedtest.net configuration...
Traceback (most recent call last):
  File "/usr/bin/speedtest-cli", line 11, in <module>
    load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest-cli')()
  File "/usr/lib/python3/dist-packages/speedtest.py", line 1986, in main
    shell()
  File "/usr/lib/python3/dist-packages/speedtest.py", line 1872, in shell
    speedtest = Speedtest(
  File "/usr/lib/python3/dist-packages/speedtest.py", line 1091, in __init__
    self.get_config()
  File "/usr/lib/python3/dist-packages/speedtest.py", line 1173, in get_config
    ignore_servers = list(
ValueError: invalid literal for int() with base 10: ''

答案1

我确实使用官方网站卸载并安装了它speedtest.net/apps/cli#ubuntu

命令:

curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash
sudo apt-get install speedtest

相关内容