使用清华开源镜像安装tensorflow

安装Tensorflow ,使用PIP镜像, 速度非常慢, 可以考虑使用清华的镜像: 

 

GPU版本安装方法:
pip install tensorflow-gpu==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple
或 CPU版本安装:

pip install tensorflow==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple

 

注意安装的时候, 更新红色部分, 版本为你机器上的版本. 

或者不使用镜像安装的版本.

posted @ 2020-08-05 08:31  Montai  阅读(1444)  评论(1编辑  收藏  举报