(二)Ubuntu18.04 pip安装python模块

版权声明:找不到大腿的时候,让自己变成大腿. https://blog.csdn.net/Xin_101/article/details/86479864

pip安装模块

序号 模块 安装 测试
1 matplotlib pip install matplotlib
pip3 install matplotlib
import matplotlib
2 scipy pip install scipy
pip3 install scipy
import scipy
3 numpy pip install numpy
pip3 install numpy
import numpy
4 pillow pip install pillow
pip3 install pillow
from PIL import Image
5 opencv pip install opencv-python
pip3 install opencv-python
import cv2

[参考文献]
[1]https://blog.csdn.net/fireflychh/article/details/73970244
[2]https://stackoverflow.com/questions/45643650/importerror-no-module-named-cv2-python3?noredirect=1


更新ing

猜你喜欢

转载自blog.csdn.net/Xin_101/article/details/86479864