Hi, I'm at https://docs.python.org/3.8/library/tkinter.html#:~:text=Running%20python%20... . There's a helpful paragraph that explains how to check/confirm that tkinter is present. I clearly don't have it. My suggestion is to add something to guide the unfortunate to where/how to get it! I arrived at that page via google - 'python can't find tkinter' I'm running ubuntu and python3. My knowledge of managing python is limited but I have tried 'pip install tkinter' and that hasn't worked. It said success but python didn't find tkinter. I have since tried 'sudo apt install python3.8-tk' and that said: Note, selecting 'python3-tk' instead of 'python3.8-tk' So, I now have a working tkinter. You could make it a bit easier! Regards, Steve Philcox
Thank you for your report. I've added it to the list of issues at https://github.com/python/cpython/issues/110383 Note that we don't have much control over how Ubuntu chooses to split up Python. Adding documentation for Ubuntu to docs.python.org is not trivial -- we'd then be expected to keep it up to date. On 10/11/23 22:39, Steve Philcox wrote:
Hi,
I'm at https://docs.python.org/3.8/library/tkinter.html#:~:text=Running%20python%20....
There's a helpful paragraph that explains how to check/confirm that tkinter is present. I clearly don't have it. My suggestion is to add something to guide the unfortunate to where/how to get it!
I arrived at that page via google - 'python can't find tkinter'
I'm running ubuntu and python3.
My knowledge of managing python is limited but I have tried 'pip install tkinter' and that hasn't worked. It said success but python didn't find tkinter.
I have since tried 'sudo apt install python3.8-tk' and that said: Note, selecting 'python3-tk' instead of 'python3.8-tk' So, I now have a working tkinter.
You could make it a bit easier!
Regards,
Steve Philcox
_______________________________________________ docs mailing list -- docs@python.org To unsubscribe send an email to docs-leave@python.org https://mail.python.org/mailman3/lists/docs.python.org/ Member address: encukou@gmail.com
participants (2)
-
Petr Viktorin
-
Steve Philcox