I have seen :ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL's are there
And a couple of other solutions that suggest placing the \opencv\build\python\2.7\x86\cv2.pyd
to my Anaconda virtual environment's \Lib\site-packages
, I am working with Anaconda3 and in my environment I have Python version as below:
Python 2.7.15 |Anaconda, Inc.| (default, May 1 2018, 18:37:12) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Strangely, despite replacing the file at every possible location of Python in my Windows 10 system, I fail to run the script which uses import to opnecv.