rdbende / Sun-Valley-ttk-theme

A gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style ✨
https://pypi.org/project/sv-ttk
MIT License
1.99k stars 112 forks source link

module 'tkinter' has no attribute '_get_default_root' #98

Closed littlewhitecloud closed 1 year ago

littlewhitecloud commented 1 year ago

image

littlewhitecloud commented 1 year ago

python 3.9.0 tkinter 8.6 It seems that tkinter in python 3.9.0 removed _get_default_root

rdbende commented 1 year ago

_get_default_root was literally just added in 3.9

Your Python installation seems very broken after seeing #52 , #93 and this

From where did you install it?

Have you tried reinstalling it?

littlewhitecloud commented 1 year ago

Fine I tested on my another computer, it still fails image image There is no _get_default_rootfunction in the python 3.9.0 image

After checking the __init__.py of tkinter in python 3.8.0, it still doesn't have _get_default_root function. image

Also 3.9.14 doesn't have _get_default_root function

But there is _get_default_root function in python 3.10 image

littlewhitecloud commented 1 year ago

If I can maybe I will make a pr to fix it. (even it is really small)

littlewhitecloud commented 1 year ago

@rdbende Can you check it out? I think I am already fix it... (#99)

rdbende commented 1 year ago

v2.5.2 is now on Pypi. Thanks!