使用阿里云镜像站安装python库
命令 :pip install 库名 -i https://mirrors.aliyun.com/pypi/simple/
-
小贴士:其他镜像网址
豆瓣:https://pypi.doubanio.com/simple/ 清华:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ 阿里云:http://mirrors.aliyun.com/pypi/simple/
-
示例:下载tensorflow
按照特定版本安装:pip install tensorflow==1.4.3 -i 加上上面镜像的地址 直接安装:pip install tensorflow -i 加上上面镜像的地址