安裝測速客戶端後出現錯誤如何解決?

安裝測速客戶端後出現錯誤如何解決?

安裝測速客戶端後出現錯誤如何解決?

安裝後測速出錯

我確實使用以下命令安裝了它:

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

相關內容