前言
本文使用清华镜像,需要其他镜像的也可以自行搜索
临时使用镜像下载
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.5.0
永久生效
# ~/.pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = https://pypi.tuna.tsinghua.edu.cn
网友评论