Closed glsmith86 closed 5 months ago
New error after install the correct module:
user@user-Aspire-F5-771G:~/CoomerDL$ python3 main.py
Traceback (most recent call last):
File "/home/user/CoomerDL/main.py", line 8, in
To fix the self.iconbitmap("resources/img/window.ico")
error on Linux, comment out the following line in the setup_window
function in ui.py
:
def setup_window(self):
window_width, window_height = 1000, 680
center_x = int((self.winfo_screenwidth() / 2) - (window_width / 2))
center_y = int((self.winfo_screenheight() / 2) - (window_height / 2))
self.geometry(f"{window_width}x{window_height}+{center_x}+{center_y}")
# self.iconbitmap("resources/img/window.ico") # <-- Comment this line
That works! Thank You!
user@user-Aspire-F5-771G:~/CoomerDL$ python main.py Traceback (most recent call last): File "/home/user/CoomerDL/main.py", line 1, in
from app.ui import ImageDownloaderApp
File "/home/user/CoomerDL/app/ui.py", line 3, in
import tkinter as tk
ModuleNotFoundError: No module named 'tkinter'
Module tk is installed.