问题:Ubuntu系统,有python2.7、pyth3.5.2、python3.6.5三个环境
在python3.6.5中import cv2 成功,在python3.5.2中import cv2失败,python2.7中也失败
解决:sudo pip3 install opencv-python(python3.5.2版本)
成功!莫名其妙哈哈哈
问题:Ubuntu系统,有python2.7、pyth3.5.2、python3.6.5三个环境
在python3.6.5中import cv2 成功,在python3.5.2中import cv2失败,python2.7中也失败
解决:sudo pip3 install opencv-python(python3.5.2版本)
成功!莫名其妙哈哈哈