How to solve python package error DLL load failed: %1 is not a valid Win32 application?

  • Thread starter Thread starter Ishiii101
  • Start date Start date
I

Ishiii101

Guest
I'm using the django framework in Visual Studio 2015 with python 2.7 and i'm trying to import an opencv file called cv2, the system recognizes its there but I keep getting the error %1 is not a valid Win32 application. My system is a 64 bit system but all the wheel files I install using pip only successfully installs if it is a 32 bit version not a 64 bit version. I've looked at other posts on other websites but those solutions don't work for me. The urls: ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL's are there, ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL's are there

I've also tried creating different python environments with a 32 bit version and a 64 bit version but still no success in addition to uninstalling different packages of opencv from different sources and syncing the intelli-sense db in my project.

Here are the opencv files that installed:

1014139.jpg

This is the picture of the python environments I created in visual studio django project:

1014140.jpg

If more information is required to solve the problem, please let me know. Thanks

Continue reading...
 
Back
Top