Description
I tried to install python 3.11.3 on my WSL (Ubuntu 22.04) with a command
pyenv install 3.11.3
Downloading Python-3.11.3.tar.xz...
-> https://www.python.org/ftp/python/3.11.3/Python-3.11.3.tar.xz
Installing Python-3.11.3...
Traceback (most recent call last):
File "", line 1, in
File "/home/matic/.pyenv/versions/3.11.3/lib/python3.11/tkinter/init.py", line 38, in
import _tkinter # If this fails your Python may not be configured for Tk
^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_tkinter'
WARNING: The Python tkinter extension was not compiled and GUI subsystem has been detected. Missing the Tk toolkit?
Installed Python-3.11.3 to /home/matic/.pyenv/versions/3.11.3
It looks like there is bug with thinker installation. I found the issue with older version previously on my older computer. Now I have a new computer and fresh installation of the whole environment. And the issue is still here. Any idea how to solve the issue?