admin管理员组文章数量:1655036
1.打开anaconda prompt:
2.在Anaconda Promt输入以下语句(一条条输入):
conda config --add channels https://mirrors.tuna.tsinghua.edu/anaconda/pkgs/free/
conda config --set show_channel_urls yes
conda create -n tensorflow python=3.6
3.输入:activate tensorflow,可以看见出现了TensorFlow的环境(路径前面的小帽子):
4.安装cpu版本的Tensorflow:pip install --upgrade --ignore-installed tensorflow
5.安装完成后,我们需要用一个编辑器来实现Python编程(总不可能在命令行里面整吧!)
打开anaconda navigator(绿圈圈那个),在环境中选择TensorFlow;点击jupyter notebook下面的“install”,安装好就变成“Launch”了,点击就可以进去了
6.进入jupyter notebook之后输入:运行之后不报错就没问题了!
import tensorflow as tf
7.大功告成,希望有用!
参考:https://blog.csdn/qq_33254870/article/details/79001705
https://blog.csdn/Eppley/article/details/79297503
本文标签: 版本tensorflowCPU
版权声明:本文标题:(亲测)windows10安装TensorFlow(CPU版本) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1729690056a1210088.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论