I currently switched from olldbg to ImmunityDebugger and realized that my IDLE didn't start any longer. Immunity Debugger installs itself a copy of Python (the newest one: 2.7), so I thought it wouldn't change anything important, since i had alerady 2.7 installed.
If I want to start IDLE manually (cmd -> "python.exe -m idlelib.idle") Mr. Cmd tells me following:
IDLE can't import Tkinter. Your Python may not be configured for Tk.
Then I ran python in the console and wanted to import Tkinter manually:
>>> import Tkinter
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\lib-tk\Tkinter.py", line 38, in <module> import FixTk File "C:\Python27\lib\lib-tk\FixTk.py", line 65, in <module> import _tkinterImportError: DLL load failed: %1 not a valid win32 application
Any Ideas what could be misconfigured? (Im using windows 7 64 Bit Home Edition) Nikolai
_tkinter.pydin Python27\DLLs? tcl85.dll, tk85.dll? Is there a Python27\tcl directory? - Eryk Sunsys.path? - Eryk Sunimport _tkinter. If that fails, try:import os, ctypes; os.chdir(r'C:\Python27\DLLs'). Then try to load the DLLs:ctypes.cdll.LoadLibrary('tcl85.dll')and alsoctypes.cdll.LoadLibrary('tk85.dll'). - Eryk Sun