On 11/12/22, darkst...@o2online.de <darkst...@o2online.de> wrote: > >>>> import _tkinter > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: DLL load failed while importing _tkinter: Das angegebene Modul > wurd > e nicht gefunden.
Loading the extension module "_tkinter.pyd" tries to load two TCL/Tk DLL files that should be in the same directory: "tcl86t.dll" and "tk86t.dll". Previously I asked you to look for these two files, and you said they were there, but maybe one is corrupt. Please try the following in the interactive shell: import os, sys, ctypes tcl86 = os.path.join(sys.prefix, 'DLLs', 'tcl86t.dll') tk86 = os.path.join(sys.prefix, 'DLLs', 'tk86t.dll') Run the following two statements one after the other in the shell: ctypes.CDLL(tcl86) ctypes.CDLL(tk86) Either or both will fail if the DLL or one of its dependencies can't be found or loaded. -- https://mail.python.org/mailman/listinfo/python-list