Windows环境 搭建Anaconda tensorflow

版权声明:著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。 https://blog.csdn.net/ChaoFeiLi/article/details/89158903

1、设置安装源

打开Anaconda Prompt

设置输入清华的仓库镜像,第一次添加,第二次移至最优先

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

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

conda config --set show_channel_urls yes

2、安装TensorFlow

继续打开Anaconda Prompt,输入:

conda create -n tensorflow python=3.6

安装完以后,输入:

activate tensorflow

激活后,我选择安装的是CPU版本,输入:

pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0-cp35-cp35m-win_amd64.whl

安装可以参考:https://blog.csdn.net/ChaoFeiLi/article/details/86606128

猜你喜欢

转载自blog.csdn.net/ChaoFeiLi/article/details/89158903
今日推荐