Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
littlewhitecloud opened this issue Jul 2, 2023 · 6 comments
Closed

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

littlewhitecloud opened this issue Jul 2, 2023 · 6 comments

Comments

@littlewhitecloud
Copy link
Contributor

image

@littlewhitecloud littlewhitecloud changed the title LOL LOL 😂 Jul 2, 2023
@littlewhitecloud
Copy link
Contributor Author

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

@littlewhitecloud littlewhitecloud changed the title LOL 😂 module 'tkinter' has no attribute '_get_default_root' Jul 2, 2023
@rdbende
Copy link
Owner

rdbende commented Jul 2, 2023

_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
Copy link
Contributor Author

Fine I tested on my another computer, it still fails
image
image
There is no _get_default_root function 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
Copy link
Contributor Author

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

@littlewhitecloud
Copy link
Contributor Author

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

@rdbende
Copy link
Owner

rdbende commented Jul 2, 2023

v2.5.2 is now on Pypi. Thanks!

@rdbende rdbende closed this as completed Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants