grubenfox hat geschrieben: ↑Freitag 16. Februar 2024, 00:04
Welche der drei Installationsmöglichkeiten hast du genutzt?
Ich habe die Version von Git Hub gewählt. Durch vieles herum probieren, kann es aber auch sein, dass ich es über pip nochmal installiert habe.
Nun habe ich homebrew nochmal deinstalliert und installiert. Anschließend nochmal die Version von Git Hub geladen und pip3 install -r requirements.txt ausgeführt.
Jetzt erscheint wenn ich die gui.py starten möchte, folgendes
Code: Alles auswählen
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
Traceback (most recent call last):
File "/Users//Tkinter-Designer/gui/gui.py", line 117, in <module>
text_box_bg = tk.PhotoImage(file=ASSETS_PATH / "TextBox_Bg.png")
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py", line 4064, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py", line 4009, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't recognize data in image file "/Users//Tkinter-Designer/gui/assets/TextBox_Bg.png"