Python Forum
"ModuleNotFoundError: No module named '_tkinter' in Python 3.8 Alfa 0 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: "ModuleNotFoundError: No module named '_tkinter' in Python 3.8 Alfa 0 (/thread-13571.html)



"ModuleNotFoundError: No module named '_tkinter' in Python 3.8 Alfa 0 - programmerc - Oct-21-2018

I have installed Python 3.9 alfa 0 from spurce code
But I got this error message:

Error:
programmer@crea:~/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/__init__.py", 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

then

make
make test
sudo make install


RE: "ModuleNotFoundError: No module named '_tkinter' in Python 3.8 Alfa 0 - Larz60+ - Oct-21-2018

3.9? current release is 3.7.0
so you are using an unstable version