【问题标题】:spyder cant load tensorflowspyder无法加载张量流
【发布时间】:2017-03-03 03:49:36
【问题描述】:

我使用 gpu 在我的 ubuntu 16.04 中构建并安装了 tensorflow。在命令行中,我可以轻松激活 tensorflow 环境,但是当我尝试通过 spyder 运行代码时,它显示:“没有名为 tensorflow.examples.tutorials.mnist 的模块”

如何使用 tensorflow 从 spyder 运行我的 python 代码?

【问题讨论】:

    标签: python-2.7 ubuntu tensorflow spyder


    【解决方案1】:
    1. 进入环境

      source activate tensorflow

    2. 安装 spyder

      conda install spyder

    3. 运行 spyder

      spyder

    `

    【讨论】:

      猜你喜欢
      • 2018-09-11
      • 2021-04-25
      • 1970-01-01
      • 2017-11-28
      • 2021-07-23
      • 1970-01-01
      • 2016-08-30
      • 1970-01-01
      相关资源
      最近更新 更多