Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

644
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda