I just installed PyCharm CE on Ubuntu 18.04.2 LTS. When I tried to run my first program, I got this error: "ModuleNotFoundError: No module named 'tkinter'" But 'tkinter' is not on the list of 'Available Packages' that can
To install tkinter in Pycharm, install the module “future” and restart pycharm. Tkinter will be imported, to access it use: from future.moves import tkinter If it don't work for you, search where tkinter lies in "future" package using cm
In your PyCharm project, go to File > Settings > Project > Project Interpreter. If you used virtualenvwrapper or PyCharm to create the env, then it should show up in the menu. If not, click the gear, choose Add Local, and locate the Python binary
Post a Comment:
Showing 0 Comments: