[GH-ISSUE #157] No attribute run #584

Closed
opened 2026-03-13 22:01:39 +03:00 by kerem · 1 comment
Owner

Originally created by @quintendewilde on GitHub (Oct 28, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/157

I get this following error after installation of the new PyPi packages.

Traceback (most recent call last):
File "start.py", line 4, in
insomniac.run(activation_code)
AttributeError: module 'insomniac' has no attribute 'run'

Originally created by @quintendewilde on GitHub (Oct 28, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/157 I get this following error after installation of the new PyPi packages. Traceback (most recent call last): File "start.py", line 4, in <module> insomniac.run(activation_code) AttributeError: module 'insomniac' has no attribute 'run'
kerem closed this issue 2026-03-13 22:01:44 +03:00
Author
Owner

@alexal1 commented on GitHub (Oct 28, 2020):

This is most likely because there's insomniac.py file in the same directory as start.py. You should remove insomniac.py because names of the file and the package are conflicting.

<!-- gh-comment-id:718019421 --> @alexal1 commented on GitHub (Oct 28, 2020): This is most likely because there's insomniac.py file in the same directory as start.py. You should remove insomniac.py because names of the file and the package are conflicting.
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#584
No description provided.