0

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
1
  • opencv have dependencies please read official documentation Commented Feb 8, 2018 at 11:48

1 Answer 1

1

You appear to be running Numpy 1.7.

Upgrade to the latest (1.14 as of writing) and try again.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.