ich bin ein Python-Programmieranfänger.
Ich kann das Modul tkinter in Python3 nicht importieren. Ich nutze Linix Mint 19.3 und habe Python 3.8.3 von Python.org runter geladen und installiert. Python3 installierte sich neben Python 2.7.17, welches bei Linux Mint schon installiert ist. Der import von Tkinter in Python 2.7.17 funktioniert, der import von tkinter in Python3 dagegen nicht.
Muss ich irgendetwas nachinstallieren, oder stimmen irgendwelche Pfade nicht?frankw@frankw:~$ python3
Python 3.8.3 (default, Jun 10 2020, 14:57:11)
[GCC 7.5.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'
>>>
Für Hilfe bin ich sehr dankbar
MfG
Kroschi