No tkinter in pycharm
There is no 'tkinter' pacakge in File > Settings > Project > Python Interpreter > (plus sign to install new package)> 'tkinter'.
There are a LOT of auxiliary tkinter packages but not tkinter proper.
I've already looked through comments and done searches and have tried 'sudo apt install tkinter' and 'sudo apt install python3-tkinter', relaunched pycharm, and continue to get the error 'Cannot find reference 'tkinter' in '__init__.py''
Why is there apparently no way to install tkinter on pycharm?
Please sign in to leave a comment.
Hi, tkinter is a built-in package - https://docs.python.org/3/library/tkinter.html , so it's not shown by the package manager.
Please note that `tkinter` python module is just bindings for Tk, which you must have installed separately on your system. A comprehensive guide can be found here: https://tkdocs.com/tutorial/install.html