ich habe folgendes Problem:
In meiner IDE(PyCharm), läuft alles perfekt. Doch wenn ich versuche die .py Datei auszuführen kommt folgendes:
Code: Alles auswählen
┌──(red㉿kali)-[~/haze.root/Python/]
└─$ python firstGUI_MAIN_EXPLAIN.py
Traceback (most recent call last):
File "firstGUI_MAIN_EXPLAIN.py", line 2, in <module>
from Tkinter import *
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>
raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package