安裝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
注意安裝的時候, 更新紅色部分, 版本為你機器上的版本.
或者不使用鏡像安裝的版本.