Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

645
Views
AttributeError: module 'speedtest' has no attribute 'Speedtest' test_get_server is not defined

!am trying to get the download and upload speed in python by using the "speedtest" module, but it gives me that error when I use the module:

AttributeError: module 'speedtest' has no attribute 'Speedtest'.

and I was only declaring the variable, that is my code :

import speedtest


test = speedtest.Speedtest()
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Is your .py file in the same directory as your script? Also how did you install speedtest? If you installed it using pip install speedtest could you please try to unistall it using pip uninstall speedtest and then reinstall it using pip install speedtest-cli

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!