Python Forum

Full Version: "ModuleNotFoundError: No module named '_tkinter' in Python 3.8 Alfa 0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have installed Python 3.9 alfa 0 from spurce code
But I got this error message:

[email protected]:~/github/cpython$ python3.8 Python 3.8.0a0 (heads/master:a323cdcb33, Oct 21 2018, 18:23:54) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.8/tkinter/", line 36, in <module> import _tkinter # If this fails your Python may not be configured for Tk ModuleNotFoundError: No module named '_tkinter'
I compiled this parameters and
./configure --with-tcltk-includes='-I/opt/ActiveTcl-8.6/include' --with-tcltk-libs='-L/opt/ActiveTcl-8.6/lib/' --with-pydebug


make test
sudo make install
3.9? current release is 3.7.0
so you are using an unstable version