[GH-ISSUE #212] 'speedtest' has no attribute 'SpeedtestException' #636

Closed
opened 2026-03-13 22:13:01 +03:00 by kerem · 4 comments
Owner

Originally created by @polyphia on GitHub (Dec 13, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/212

Tested on both 3.4.1 and 3.4.2 :

Traceback (most recent call last): File "start.py", line 4, in <module> insomniac.run(activation_code) File "G:\Insomniac-master\insomniac\__init__.py", line 20, in run insomniac_session.run() File "G:\Insomniac-master\insomniac\session.py", line 135, in run sleeper.update_random_sleep_range() File "G:\Insomniac-master\insomniac\sleeper.py", line 36, in update_random_sleep_range speed = _get_internet_speed() File "G:\Insomniac-master\insomniac\sleeper.py", line 67, in _get_internet_speed except speedtest.SpeedtestException: AttributeError: module 'speedtest' has no attribute 'SpeedtestException'

From what I've been reading it's an old issue and was supposed to be fixed on 3.4.1, but doesn't seem to be the case ?

Originally created by @polyphia on GitHub (Dec 13, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/212 Tested on both 3.4.1 and 3.4.2 : `Traceback (most recent call last): File "start.py", line 4, in <module> insomniac.run(activation_code) File "G:\Insomniac-master\insomniac\__init__.py", line 20, in run insomniac_session.run() File "G:\Insomniac-master\insomniac\session.py", line 135, in run sleeper.update_random_sleep_range() File "G:\Insomniac-master\insomniac\sleeper.py", line 36, in update_random_sleep_range speed = _get_internet_speed() File "G:\Insomniac-master\insomniac\sleeper.py", line 67, in _get_internet_speed except speedtest.SpeedtestException: AttributeError: module 'speedtest' has no attribute 'SpeedtestException'` From what I've been reading it's an old issue and was supposed to be fixed on 3.4.1, but doesn't seem to be the case ?
kerem closed this issue 2026-03-13 22:13:06 +03:00
Author
Owner

@Fadude commented on GitHub (Dec 16, 2020):

Please run pip install speedtest-cli

<!-- gh-comment-id:746451368 --> @Fadude commented on GitHub (Dec 16, 2020): Please run `pip install speedtest-cli`
Author
Owner

@twixi commented on GitHub (Jan 8, 2021):

Requirement already satisfied: speedtest-cli in c:\users\user\appdata\local\programs\python\python37\lib\site-packages (2.1.2)

<!-- gh-comment-id:756986795 --> @twixi commented on GitHub (Jan 8, 2021): Requirement already satisfied: speedtest-cli in c:\users\user\appdata\local\programs\python\python37\lib\site-packages (2.1.2)
Author
Owner

@alexal1 commented on GitHub (Jan 8, 2021):

@twixi if you still have this error but speedtest-cli is installed, my guess is that it's conflicting with another package. Try

pip uninstall speedtest

I once added this package to requirements.txt by mistake so it may be installed in your system.

<!-- gh-comment-id:757009485 --> @alexal1 commented on GitHub (Jan 8, 2021): @twixi if you still have this error but `speedtest-cli` is installed, my guess is that it's conflicting with another package. Try ``` pip uninstall speedtest ``` I once added this package to requirements.txt by mistake so it may be installed in your system.
Author
Owner

@twixi commented on GitHub (Jan 9, 2021):

i`m reinstall python and work now....

<!-- gh-comment-id:757128050 --> @twixi commented on GitHub (Jan 9, 2021): i`m reinstall python and work now....
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#636
No description provided.