>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 er ikke et gyldigt Win32-program.
>>>
I downloaded the newest version of openCV from https://sourceforge.net/projects/opencvlibrary/files/opencv-win/
Then copied the x64.pyd
from folder C:\opencv\build\python\2.7
to C:\Anaconda3\Lib\site-packages
but it still complaints.
Python 3.5.1 |Anaconda 4.0.0 (64-bit)[MSC v.1900 64 bit (AMD64)] on win32
I saw an answer from another post here: ImportError: DLL load failed: %1 is not a valid Win32 application I found 2 dll files in my C:\opencv\build\bin
and sat that path to my system variables. But did not result in success.