Ask Your Question
0

opencv error

asked 2017-08-16 09:18:08 -0600

DavidK gravatar image

i have installed Python 2.7.13 and numpy latest version

Copied cv2.pyd to C:/Python27/lib/site-packeges.

in the Python command prompt i have typed import cv2 and got the following error message:

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

(i have tried both X64 & X86 files)

any clue?

thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-16 10:21:04 -0600

berak gravatar image

you're running a 32bit python, yet you tried to install a64bit version of cv2.pyd

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-08-16 09:18:08 -0600

Seen: 149 times

Last updated: Aug 16 '17