>>> runfile('/Users/isaiahnields/.spyder2/temp.py', wdir='/Users/isaiahnields/.spyder2')
RuntimeError: module compiled against API version a but this version of numpy is 9
Traceback (most recent call last):
File "", line 1, in
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 685, in runfile
execfile(filename, namespace)
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 78, in execfile
builtins.execfile(filename, *where)
File "/Users/isaiahnields/.spyder2/temp.py", line 9, in
import cv
File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/cv.py", line 1, in
from cv2.cv import *
ImportError: numpy.core.multiarray failed to import
>>>
Информация о системе: OS X El Capitan, Macbook Air, Intel Core i5 с тактовой частотой 1,3 ГГц, 8 ГБ, 1600 МГц DDR3
Я уже пытался обновить numpy. Мне пришлось добавить cv.py в папку python2.7 в Spyder-Py2, нужно ли добавить что-то еще?
[code]>>> runfile('/Users/isaiahnields/.spyder2/temp.py', wdir='/Users/isaiahnields/.spyder2') RuntimeError: module compiled against API version a but this version of numpy is 9 Traceback (most recent call last): File "", line 1, in File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 685, in runfile execfile(filename, namespace) File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 78, in execfile builtins.execfile(filename, *where) File "/Users/isaiahnields/.spyder2/temp.py", line 9, in import cv File "/Applications/Spyder-Py2.app/Contents/Resources/lib/python2.7/cv.py", line 1, in from cv2.cv import * ImportError: numpy.core.multiarray failed to import >>> [/code]
Информация о системе: OS X El Capitan, Macbook Air, Intel Core i5 с тактовой частотой 1,3 ГГц, 8 ГБ, 1600 МГц DDR3
Я уже пытался обновить numpy. Мне пришлось добавить cv.py в папку python2.7 в Spyder-Py2, нужно ли добавить что-то еще?