I receive an error when importing TkInter in Python 3.5. This is the error message that shows:
File "/usr/local/lib/python3.5/tkinter/init.py", line 35, in import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'
I have ubuntu 14.04 and I'm running Python 3.5, and probe install like this:
sudo apt-get install python3-tk
sudo apt-get install python-tk
I do not know what the problem is so I try to import it:
from tkinter import *
Why do I get that error? How can I fix it?