在centos6.8 下面安装完Anaconda以后,运行
`pip install Opencv-python
安装完成opencv.
此时打开python交互界面 import cv2
出现如下错误
搜索后,是缺少 pyqt4的运行环境
在root用户下运行安装
yum install PyQt4
yum install qt qt-demos qt-designer qt4 qt4-designer
此时opencv安装完成。
Centos6.8+Anaconda3+opencv 搭建opencv运行环境
猜你喜欢
转载自blog.csdn.net/bug4pie/article/details/79406054
今日推荐
周排行