【问题标题】:TensorFlow deactivates Python when imported in Jupyter notebookTensorFlow 在 Jupyter 笔记本中导入时停用 Python
【发布时间】:2019-09-15 21:41:14
【问题描述】:

我已经在基础环境中安装了带有 Miniconda 3 的 TensorFlow,它在 PyCharm 编辑器中运行良好。但是当我尝试在 Jupyter Notebook 中使用 TensorFlow 时,它会导致 Python 崩溃。这就是我所看到的,即使是简单的import tensorflow as tf,可能是什么问题以及如何解决这个问题?

【问题讨论】:

    标签: python python-3.x tensorflow jupyter-notebook jupyter


    【解决方案1】:

    可能是您的Jupyter 编辑器存在内存问题。我建议,如果可以的话,尝试只导入 tensorflow 应用程序所需的适当模块,看看是否能解决问题。

    【讨论】:

      猜你喜欢
      • 2018-07-30
      • 2018-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-22
      • 1970-01-01
      • 2020-11-20
      • 2017-12-04
      相关资源
      最近更新 更多