(python3.5.3) [root@localhost MyGUI]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
pip install matplotlib -i https://mirrors.aliyun.com/pypi/simple/ -trusted-host=mirrors.aliyun.com
pip install numpy -i https://mirrors.aliyun.com/pypi/simple/ -trusted-host=mirrors.aliyun.com
pip install six -i https://mirrors.aliyun.com/pypi/simple/ -trusted-host=mirrors.aliyun.com
pip install scipy -i https://mirrors.aliyun.com/pypi/simple/ -trusted-host=mirrors.aliyun.com
pip install pyparsing -i https://mirrors.aliyun.com/pypi/simple/ -trusted-host=mirrors.aliyun.com
pip install python-dateutil -i https://pypi.tuna.tsinghua.edu.cn/simple
安装参考说明:
pip install -i 国内镜像文件
国内镜像:
https://pypi.douban.com/simple/ 豆瓣
https://mirrors.aliyun.com/pypi/simple/ 阿里
https://pypi.hustunique.com/simple/ 华中理工大学
https://pypi.sdutlinux.org/simple/ 山东理工大学
https://pypi.mirrors.ustc.edu.cn/simple/ 中国科学技术大学
https://pypi.tuna.tsinghua.edu.cn/simple 清华
1、临时使用,添加“-i”或“--index”参数
pip install -i https://pypi.douban.com/simple/ flask
2、配制成默认的,修改默认文件:pip.ini
[global]
index-url=https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com