我已经在Ubuntu中通过sudo apt-get install libopencv-dev安装了OpenCV,然后在Anaconda中安装了pip install python-opencv,但是如果我尝试导入cv2模块,我会得到错误:[GCC 4.4.7 20120313Anaconda is brought to you by Continuum Analytics.
所以,我在导入cv2时遇到了一段时间的麻烦。我遵循了这个教程它成功地安装了open cv2,并且也存在于站点包中,但它显示了一个导入错误。Anaconda is brought to you by Continuum Analytics.
Traceback (most recent call last):
File "<stdin>", line 1, in &l