pip命令未找到:
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
升级python版本:
https://blog.youkuaiyun.com/lpliem/article/details/103873493
setup.py启动不了
ERROR: Can not execute setup.py since setuptools is not available in the build environment.:
pip install --upgrade setuptools
wget: 无法解析主机地址 “mirrors.aliyun.com”
登录root用户,用vim /etc/resolv.conf ,打开rsolv.conf,添加DNS地址
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 223.5.5.5
nameserver 223.6.6.6
(nameserver 223.5.5.5 和 nameserver 223.6.6.6选择其中一个添加即可)
yum install找不到该包
yum search matplotlib
先找这个命令在哪个包
下面列表展示的就是存在这个命令的包,可以选择任意一个安装
==================================================== N/S matched: matplotlib ====================================================
python-matplotlib-doc.x86_64 : Documentation files for python-matplotlib
python-matplotlib-qt4.x86_64 : Qt4 backend for python-matplotlib
python-matplotlib-tk.x86_64 : Tk backend for python-matplotlib
python-matplotlib.x86_64 : Python 2D plotting library