python, out of nowhere a tkinter error? DLL load failed: %1 is not a valid Win32 application

I’ve been using this script weekly and when I tried to use it today it suddenly gave me the following error:

E:Bots---NameChecker>python ---NameChecker.py
Traceback (most recent call last):
  File "---NameChecker.py", line 2, in <module>
    from Tkinter import Tk
  File "C:Python27liblib-tkTkinter.py", line 38, in <module>
    import FixTk
  File "C:Python27liblib-tkFixTk.py", line 65, in <module>
    import _tkinter
ImportError: DLL load failed: %1 is not a valid Win32 application.

This is not the only one however, before this one I had an error about pycrypto, which went away when I updated it, after installing the c++ compiler from the MS website.

Anyone has an idea on what to do here? My coder is away for the next couple of days and I really really need this script to work.

ps. sensitive information replaced with ” — “


Source: dll

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.