Closed mkresgil closed 2 years ago
Hello mkresgil.
I'm afraid I have not had this issue with Tkinter.
import tkinter as tk
Is the usual syntax to import Tkinter and .Tk() is a function within it. May I ask what version of python you are using?
Potentially you could use this code in your terminal to update your version of Tkinter.
pip install tk --upgrade
Please let me know if this works.
James
Hello,
the version is 3.6.8, the pip install did not aid in helping.
I will continue to try and see what happens
We have had another report of the same issue on RHEL8. There seems to be a problem with the tkinter package that comes with Python3 on RHEL8 / CentOS8
A.
On Fri, 22 Jul 2022, 19:45 mkresgil, @.***> wrote:
Hello,
the version is 3.6.8, the pip install did not aid in helping.
I will continue to try and see what happens
— Reply to this email directly, view it on GitHub https://github.com/JamesSweetJones/abYdraw/issues/40#issuecomment-1192845610, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBQ7UMMDRVGQP6473DMVZ3VVLT4FANCNFSM54ESGAAA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello mkres
Hello,
the version is 3.6.8, the pip install did not aid in helping.
I will continue to try and see what happens
Find out which version of tkinter you are running. I am running Version 8.6 which includes the Tk command.
You can find out simply with this code:
import tkinter tkinter.TkVersion
If you are running an older version, please see these documents to install the newer versions: https://tkdocs.com/tutorial/install.html
Best, James
when trying to run abydraw, after installing using the install.py
python3 abYdraw.py Traceback (most recent call last): File "abYdraw.py", line 7628, in
root = tk.Tk()
it raises this error: have tried changing import tkinter as Tk, cannot find a file in directory called tkinter.py.
has anyone had this problem or no a solution?