我嘗試安裝opencv for python。我使用Windows x64。我安裝numpy1.6
和python2.7
。我已經安裝了opencv2.4.9
。我成功安裝它們。我從this page指導。它說,在Windows上安裝Opencv for Python
現在打開你的 「巨蟒IDLE」(從開始>所有程序> Python 2.7版>的Python IDLE),並只需鍵入以下內容: 進口CV2
當我運行import cv2
,我得到錯誤如下:
module compiled against API version 9 but this version of numpy is 6.
我該如何知道兼容版本?
我知道這個問題enter link description here。但我安裝了最新的numpy版本,它並沒有解決我的問題。
我不同意關於重複問題的建議。安裝Anaconda發行版。 – YXD
謝謝!這個對我有用。 – zumma