opencv fails to import on python

asked 2015-07-30 11:05:22 -0600

chris hawley gravatar image

I followed the instructions provided to install opencv-python which was installing opencv and then moving cv2.pyd to site packages. Then to check that it was installed, i tried to import it. i got the following error.

 Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 is not a valid Win32 application.

i have no idea what DLL failed to load. I'm at a loss for information as to how to fix this error. Any help would be appreciated.

edit retag flag offensive close merge delete