Python error of the "Speedtest" library : Unable to connect to the servers to test the latency

478 views Asked by At

Python SpeedTest library Error

I have a script in python that does a speedtest and displays the result. But I don't understand why I have an error that persists.

error :

raise SpeedtestBestServerFailure('Unable to connect to servers to ' speedtest.SpeedtestBestServerFailure: Unable to connect to servers to test latency.

script :

import speedtest

st = speedtest.Speedtest()

download_speed = st.download()
print(download_speed)

I'm well connected, I load web pages correctly and can even do speedtest online.

Please help me

0

There are 0 answers