metafy-social / python-scripts

A repository of python scripts that come in handy in automating day-to-day tasks
MIT License
464 stars 182 forks source link

Internet Speed Checker: AttributeError: module 'speedtest' has no attribute 'Speedtest' #475

Open haminkim1 opened 1 year ago

haminkim1 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Install the Speedtest Package using 'pip install speedtest'
  2. run main.py script under /Internet Speed Checker folder.

Expected behavior Output should be as per Readme file:

Internet Speed Checker 21:22:38 Connecting to server... Download: 1.74 Mbit/s Upload: 22.80 Mbit/s Ping: 101.68 ms ISP: Alliance Broadband Services Pvt.

But I keep getting the error shown in the image below:

Screenshots image

github-actions[bot] commented 1 year ago

Thank you for opening your first issue in our repository, one of our maintainers will get in touch with you soon.

PLEASE DON'T FORGET TO ADD YOUR EMAIL USING THE AUTH LINK

We at Metafy have some special rewards and swags for the top contributors in general repos and every contributor in web3 repos For being eligible for that, please authenticate yourself using this link: https://metafy.social/signup

Rewards : T-shirts & NFT ( for blockchain contributions )

Best of luck on your Contributions For further queries you can join our discord for support : https://discord.gg/W6PmEjjQsA

Toucdev commented 1 year ago

Hello, I believe I can fix this issue. Please assign me to this if possible.

100-key commented 1 year ago

this solu for it (( module 'speedtest' has no attribute 'Speedtest'

nebulaanish commented 1 year ago

Hi, is this issue resolved yet?

Sauravroy34 commented 6 months ago

one way would be uninstalling speedtest (pip uninstall speedtest) and reinstalling (pip install speedtest-cli)

Sauravroy34 commented 6 months ago

https://github.com/metafy-social/python-scripts/pull/496