Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

求助,运行时tkinter报错 #1

Closed
@WoodwindHu

Description

@WoodwindHu
❯ python3 ./EdgeGPT-GUI.py
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/potapo/github/EdgeGPT-GUI/./EdgeGPT-GUI.py", line 34, in <module>
    root = ttk.Window()
  File "/Users/potapo/Library/Python/3.9/lib/python/site-packages/ttkbootstrap/window.py", line 231, in __init__
    self._icon = tkinter.PhotoImage(master=self, data=Icon.icon)
  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 image data

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions