Ask Your Question
0

Open CV install Error - Numpy version incorrect

asked 2017-05-01 18:25:55 -0600

mbroadbe gravatar image

Hi,

I tried to get Open CV up and running, but when I run importCV I get the following error

import cv2 RuntimeError: module compiled against API version 0xa but this version of numpy is 0x7

I'd followed the path to installing numpy so just picked up whichever version that was. Does Open CV work with a particular Numpy version, wasn't sure what Oxa stood for.

I'm using Windows 10 if that adds any complications to it either.

Cheers, Michael

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-03 01:23:07 -0600

berak gravatar image

yes, opencv (cv2) expects you to have numpy 9 or later, while you have numpy 7

if you have pip, use:

pip install numpy

(this will hopefully update to latest 10.x)

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-05-01 18:25:55 -0600

Seen: 1,366 times

Last updated: May 03 '17