Ask Your Question

Revision history [back]

I might be late on this but still I want to post this here as references for those after me.

I faced this problem few ours ago, the cv2.pyd from folder x64 gave me the exact error as stated above. so I tried the one from folder x86 and it gave me something sounds like the cv2.pyd is compiled for version 9 while my installed numpy is version 7. so I did some google and found numpy version 10.1 (http://sourceforge.net/projects/numpy/files/NumPy/1.10.1/) and so I reinstall the numpy with latest version and everything works fine.

*ps: you might want to update matplotlib as well while you are at it. (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.5.0/windows/)