Python ImportError: DLL load failed: % 1 is not a valid Win32 application, pythonimporterror

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.