I am using Ubuntu 13.10 and Python 3.3.4 using pyenv. I have no problem using other modules. When I enter python console and write
import tkinter
It outputs
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/serdar/.pyenv/versions/3.3.4/lib/python3.3/tkinter/__init__.py", line 40, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'
I already installed python3-tk and tk-devel.
/usr/bin/python3 -c'import tkinter'succeed?~/.pyenv/versions/3.3.4/bin/python3 -c'import tkinter'didn't worked./usr/bin/python3then try to recreate the environmentpyenvfor Python environments management and want IDLE work there is step by step guide stackoverflow.com/questions/61870688/…