先加速 使用清華大學鏡像源(必定要用,會少不少坑)python
https://mirrors.tuna.tsinghua.edu.cn/help/alpine/python2.7
超時加上參數 --default-timeout=1000spa
//安裝cv2code
pip install opencv-pythonblog
//安裝mxnetip
pip install mxnet-cu90ssl
//安裝tensorflowget
pip install tensorflowopenssl
Traceback (most recent call last): File "demo.py", line 7, in <module> import cv2 File "/usr/lib64/python2.7/site-packages/cv2/__init__.py", line 3, in <module> from .cv2 import * ImportError: libSM.so.6: cannot open shared object file: No such file or directory //安裝 yum install -y python-qt4
//安裝PILqt
pip install pillow
command 'gcc' failed with exit status
yum install gcc libffi-devel python-devel openssl-devel -y
Traceback (most recent call last):
File "demo.py", line 14, in <module>
import matplotlib.pyplot as plt
ImportError: No module named matplotlib.pyplot
[root@iZwz9drblb61bx0rc564tiZ PyramidBox]# pip install matplotlib
ImportError: No module named Tkinter
yum install -y tkinter
yum install -y tk-devel