0
>> import cv2

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

error

Any suggestions would be gratefully received!

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135

1 Answers1

0

A similar question has been asked before: 14629818

The solution they propose is that after installing OpenCV, you need to add the location of OpenCV to your PATH environmental variable and rerun your script.

Anteino
  • 1,044
  • 7
  • 28