Python ImportError: DLL load failed: % 1 is not a valid Win32 application, pythonimporterror
When I was tossing pandas today,
I would like to think of it as a 64-bit system,
Of course, a 64-bit binary installation package is downloaded,
The installation is normal,
ImportError is reported during import.
After installing the python module on windows, the import module times that python ImportError: DLL load failed: % 1 is not a valid Win32 application.
This is because you have installed a 64-bit python, and then installed a 32-bit module, or you have installed a 32-bit python, and then installed a 64-bit module.
Determine the number of places in your python
Download the corresponding module ,,,
Source URL: http://www.111cn.net/sys/linux/58842.htm
Why does the running of python27 wxpython comtypes ulipad fail to display a valid win32 application?
It may be a version issue. You need the correct version. If python is 64-bit, all additional libraries must be 64-bit.
Python is written in C language at the underlying layer. It is sensitive to different word lengths.
We recommend that you use a 32-bit version. This means that the memory management is smaller, but the compatibility is better. Even if you use the 64-bit version, sometimes the applied memory cannot exceed 2 GB. Of course, some are acceptable, such as dictionaries and lists.
A python Problem
If there is a problem with the installed version, try the installation package here. Select 32-bit or 64-bit based on your configuration.
Www.lfd.uci.edu /~ Gohlke/pythonlibs/# pygame