一、ubuntu18 安装
#安装环境
1 操作系统:Linux ai-System-Product-Name 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
2、驱动:
3 python
4 pip
#国内好的源 https://pypi.tuna.tsinghua.edu.cn/simple
另附 国内清华大学开源镜像网站
https://mirrors.tuna.tsinghua.edu.cn/
永久修改
ubuntu :修改或创建 ~/.pip/pip.conf
在pip.conf中 添加:
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
#更新pip3 pip3 install --upgrade pip