天天看点

ubuntu18安装python3-pip opencv-python

[email protected]:/# apt-get install python3-dev aptitude python3-pip
[email protected]:/# pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)



[email protected]:/# apt-get install libsm6 libxrender1 libxext6 opencv-python
[email protected]:/# python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> 
           

继续阅读