試圖安裝OpenCV,並運行到哪裏試圖導入該輸出CV2結果的問題 -OpenCV的導入和獲得numpy.core.multiarray未能導入
RuntimeError: module compiled against API version 9 but this version of numpy is 7
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
import cv2
ImportError: numpy.core.multiarray failed to import
我在Windows 7上運行64位, Python v 2.7.9 謝謝!
你是如何安裝numpy和opencv的? – 2015-01-26 21:02:48
我跟着指示這裏使用預先生成的二進制文件:http://docs.opencv.org/trunk/doc/py_tutorials/py_setup/py_setup_in_windows/py_setup_in_windows.html#install-opencv-python-in-windows – NoTrueScotsman 2015-01-27 04:02:22
的可能的複製[導入錯誤:numpy.core.multiarray導入失敗](http://stackoverflow.com/questions/20518632/importerror-numpy-core-multiarray-failed-to-import) – Hamlett 2016-06-09 00:56:49