Fehlerhafter Import #3

Closed
opened 2024-12-08 20:28:08 +01:00 by Megamichi · 1 comment
Collaborator
$ ./main.py 
Traceback (most recent call last):
  File "/home/megamichi/Desktop/coding/Bread_Editor/./main.py", line 8, in <module>
    from ui import GUI
  File "/home/megamichi/Desktop/coding/Bread_Editor/ui.py", line 5, in <module>
    from gui.main_window import Ui_MainWindow
ModuleNotFoundError: No module named 'gui.main_window'
``` $ ./main.py Traceback (most recent call last): File "/home/megamichi/Desktop/coding/Bread_Editor/./main.py", line 8, in <module> from ui import GUI File "/home/megamichi/Desktop/coding/Bread_Editor/ui.py", line 5, in <module> from gui.main_window import Ui_MainWindow ModuleNotFoundError: No module named 'gui.main_window' ```
Owner

Ups, ich hatte vergessen, zu erwähnen, dass man die .ui Dateien erst in Python-Dateien umwandeln muss.

Ups, ich hatte vergessen, zu erwähnen, dass man die .ui Dateien erst in Python-Dateien umwandeln muss.
Wobbl closed this issue 2024-12-09 14:42:10 +01:00
Sign in to join this conversation.
No labels
bug
crash
feature
No milestone
No project
No assignees
2 participants
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: Wobbl/Bread_Editor#3
No description provided.