
上QQ阅读APP看书,第一时间看更新
2.2.2 使用Anaconda安装TensorFlow
使用Anaconda安装TensorFlow的方法和pip方式相似,具体流程如下。
1)在Windows操作系统中单击左下角的图标,在弹出界面中找到“Anaconda Powershell Prompt”,然后右击“Anaconda Powershell Prompt”,在弹出的菜单中依次选择“更多”→“以管理员身份运行”命令,如图2-4所示。

· 图2-4 以管理员身份运行“Anaconda Powershell Prompt”
2)在弹出的“管理员:命令提示符”界面中输入如下命令即可安装TensorFlow库。

在输入上述pip安装命令后,会弹出下载并安装TensorFlow的提示信息,安装成功后的界面效果如图2-5所示。

· 图2-5 下载和安装TensorFlow界面