Reputation: 27
I am getting this error when trying to import opencv:
>>> import cv2
RuntimeError: module compiled against API version 0xa but this version of numpy is 0x7
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import cv2
ImportError: numpy.core.multiarray failed to import
Upvotes: 0
Views: 520
Reputation: 5080
You appear to be running Numpy 1.7.
Upgrade to the latest (1.14 as of writing) and try again.
Upvotes: 1