所以我已经从Ubuntu 14.04上成功地从源代码安装了OpenCV 3.2.0 ,并且出现此错误:
(cv2) mona@pascal:~/computer_vision/opencv-3.2.0/build$ /usr/local/bin/opencv_version
3.2.0
(cv2) mona@pascal:~/computer_vision/opencv-3.2.0/build$ python
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'cv2'
>>> import cv
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'cv'
我可能会错过的sudo make install步骤之后该怎么办?
不幸的是,这里也没有cv2:
mona@pascal:~/computer_vision/opencv-3.2.0/build$ ls /usr/local/lib/python3.4/dist-packages/
clonevirtualenv.py numpy pr