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 1014139.jpg](https://www.computerhelp.forum/data/attachments/55/55069-cc52c3b75ac2323fe133d6dbfbd8f863.jpg?hash=zFLDt1rCMj)
This is the picture of the python environments I created in visual studio django project:
![1014140.jpg 1014140.jpg](https://www.computerhelp.forum/data/attachments/55/55070-dc3a01e389776b327007b4cd118e3a86.jpg?hash=3DoB44l3az)
If more information is required to solve the problem, please let me know. Thanks
Continue reading...
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 1014139.jpg](https://www.computerhelp.forum/data/attachments/55/55069-cc52c3b75ac2323fe133d6dbfbd8f863.jpg?hash=zFLDt1rCMj)
This is the picture of the python environments I created in visual studio django project:
![1014140.jpg 1014140.jpg](https://www.computerhelp.forum/data/attachments/55/55070-dc3a01e389776b327007b4cd118e3a86.jpg?hash=3DoB44l3az)
If more information is required to solve the problem, please let me know. Thanks
Continue reading...