Traceback (most recent call last): File "addin_assistant.pyw", line 2, in <module> File "addin_ui.pyc", line 5, in <module> File "wx\__init__.pyc", line 45, in <module> File "wx\_core.pyc", line 4, in <module> File "wx\_core_.pyc", line 12, in <module> File "wx\_core_.pyc", line 10, in __load ImportError: DLL load failed: %1 is not a valid Win32 application.
Solved! Go to Solution.
It sounds like you are running into the following bug:
NIM091620
"ImportError: DLL load failed: %1 is not a valid Win32 application." Error displays when ArcMap launches a 64-bit Integrated Development Environment (IDE) as Editor or Debugger and the script imports arcpy.
Are you using a 64-bit IDE?
From the executable file itself you're getting the error? Try downloading it again and running it from a different location. Worst case scenario is to get wxPython for your current version and architecture of python and download the source of the addin wizard (click "Download ZIP" in the bottom of the right sidebar) and run it from your IDE/Python.exe.