Linux ssh安装open cv2

2019-11-14  本文已影响0人  卖点儿什么

安装 open cv2

(tensorflow/tensorflow 、pytorch/pytorch 镜像测试成功)

pip install opencv-python

验证安装

python

import cv2

不行就

apt-get install python-opencv

如果报错 -bash: pip3: command not found

那就  /pip路径 install opencv-python 例如:

/opt/conda/bin/pip install opencv-python

上一篇下一篇

猜你喜欢

热点阅读