1. 程式人生 > >ubuntu 和windows 分別在anaconda上安裝tensorflow

ubuntu 和windows 分別在anaconda上安裝tensorflow

3.5 bsp amd rom python版本 sim tun 鏡像站 whl

windows下 的anaconda安裝tensorflow

在Anaconda Prompt中:conda install tensorflow python=3.5一直下載失敗.總結一下原因可能國外的源,網速太慢且不穩定

借鑒http://www.cnblogs.com/nosqlcoco/p/6923861.html

把鏡像改為清華大學開源軟件鏡像站:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free

conda config --set show_channel_urls yes

conda creat -n tensorflow python=3.5 (我的python版本是3.5.2)

‘y‘

安裝CPU版本:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ https://mirrors.tuna.tsinghua.edu.cn/tensorflow/windows/cpu/tensorflow-1.1.0-cp35m-win_amd64.whl

(或者打開 https://mirrors.tuna.tsinghua.edu.cn/tensorflow/)選擇合適的whl文件地址進行安裝;或者打開 https://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/可視化安裝

最後:activate tensorflow 激活Tensorflow虛擬環境。

當不適用Tensorflow時,使用deactivate tensorflow。

Ubuntu 下anaconda install tensorflow

conda install tensorflow

ubuntu 和windows 分別在anaconda上安裝tensorflow