1.安装 anaconda
官网链接:https://www.anaconda.com/distribution/
笔者是win10 64bit ,这里直接建议安装对应py3.7版本的,点击64-Bit Graphical Installer (486 MB) 直接下载并安装
注意:安装过程中一定要勾选上添加路径
验证是否安上:
在cmd里 输入 conda --version
得到
安装成功!
2.安装 tensorflow
1.配置环境
打开anaconda 中的 anaconda prompt,并输入两行代码:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
从而连接清华镜像。
因为笔者安的python为3.7.3版本,