在Windows上安装Opencv for Python

2024-06-26 10:42:49 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试安装opencvforpython。我用的是Windowsx64。{cd2>安装。我已经安装了opencv2.4.9。我安装成功了。我从this page开始引导。上面写着

Now open your "Python IDLE" ( from Start > All Programs > Python 2.7 > Python IDLE ) and just type following : import cv2

当我运行import cv2时,我得到以下错误:

module compiled against API version 9 but this version of numpy is 6.

我怎么知道兼容版本?在

我知道这个问题。但我安装了最新的numpy版本,它并没有解决我的问题。在


Tags: fromimport版本numpyyourversionpageopen