mata mata - 3 months ago 12
Python Question

import opencv in python

I want to install opencv on Windows 7 64 bit and I'm using Python 3.5.1 32-bit.
I downloaded the .whl file for opencv as said in the answer in this question: Install opencv for Python 3.3 given by @user3731622. But when I try to do:

import cv2


I get the following error:

ImportError: numpy.core.multiarray failed to import


What am I doing wrong ?

Thanks

Answer

Are you sure it's bumpy in the error you get? multiarray is a part of numpy. In this post: ImportError: numpy.core.multiarray failed to import the solution is to install numpy. Do you have that installed?