Ask Your Question
0

module compiled against API version 9 but this version of numpy is 7

asked 2016-08-27 06:41:40 -0600

updated 2016-08-27 07:23:13 -0600

berak gravatar image

i 'm not able to solve this:

RuntimeError: module compiled against API version 9 but this version of numpy is 7  Traceback (most recent call last):   File "<pyshell#0>", line 1, in <module>     import cv2 ImportError: numpy.core.multiarray failed to import
edit retag flag offensive close merge delete

Comments

2

you need to install a more recent numpy version to run cv2 code.

berak gravatar imageberak ( 2016-08-28 01:14:42 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-05-30 07:42:27 -0600

Naveen Pittala gravatar image

Hi,

https://sourceforge.net/p/numpy/activ...

Go to the above page search numpy version 9 in your case according to the error and install . it will work fin

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-08-27 06:41:40 -0600

Seen: 2,534 times

Last updated: Aug 27 '16