I have installed Python 3.9 alfa 0 from spurce code
But I got this error message:
./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
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