【发布时间】:2018-05-18 14:03:28
【问题描述】:
1.通过conda create --name tftest创建一个新环境。 (您可以将 tftest 替换为例如您当前项目的名称。) 2.通过激活 tftest 激活新环境。 3.通过conda install tensorflow将TF安装到这个环境中。 4. 确保您通过 where python 处于正确的环境中(应该生成包含“tftest”的路径)。 5.通过python运行Python。 6.import tensorflow as tf in a shell in that environment.
感谢伟大的社区,因为我在另一个帖子中找到了这个!!!
【问题讨论】:
标签: tensorflow