Skip to content Skip to sidebar Skip to footer

Speedtest Module In Python

i'm trying to use the speedtest module in python, i run 'pip install speedtest-cli' as admin from command prompt, it works in the command prompt and gives me the results when runni

Solution 1:

For some reason the speedtest package is empty. You need to install speedtest-cli instead. So,

pip install speedtest-cli

From you there you can do:

importspeedtests= speedtest.Speedtest()

...

Solution 2:

Use -

import speedtest as speedtest 

Then Your Code Should Work.

Other Solution-(not recommended) Except using

speedtest.Speedtest() 

use only

Speedtest() 

Post a Comment for "Speedtest Module In Python"