Open qyzxg opened 2 years ago
Can u try using a different image ?
Tcl/Tk 8.5 doesn't support png images
I don't think that's the issue @rdbende , TkinterDesigner itself uses Png files
@ParthJadhav Based on the error message he tries to run TkinterDesigner itself.
Same issue here.
Earlier, I was using Python 3.9.6
and upon checking the tkinter
version, this was the output:
~ python3
Python 3.9.6 (default, Feb 3 2024, 15:58:27)
[Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter as tk
>>> tk.TkVersion
8.5
Then, I had to switched to a more recent version of Python, version 3.12.5
Additionally, I had to install Tcl/Tk
using Homebrew:
brew install tcl-tk
And, this was the result:
~ python3.12
Python 3.12.5 (main, Aug 6 2024, 19:08:49) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter as tk
>>> tk.TkVersion
8.6
thanks