ubuntu18安裝python3-pip opencv-python

root@2fce31d9be57:/# apt-get install python3-dev aptitude python3-pip
root@2fce31d9be57:/# pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)



root@2fce31d9be57:/# apt-get install libsm6 libxrender1 libxext6 opencv-python
root@2fce31d9be57:/# 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
>>> 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章