【问题标题】:import tensorflow as tf error occur in Anaconda Navigator在 Anaconda Navigator 中导入 tensorflow 作为 tf 错误
【发布时间】:2019-09-12 19:41:25
【问题描述】:

在 anaconda 笔记本中导入 tenserflow 模块时,我遇到了这个错误 numpy.core.multiarray failed to import

【问题讨论】:

    标签: tensorflow machine-learning anaconda


    【解决方案1】:

    欢迎来到 StackOverflow。 请考虑reviewing "How do i ask a good question" guidelines 以提供更多上下文。

    根据您的问题,您很可能通过 pip 在 Anaconda 中安装了旧版本的 numpy。尝试使用anaconda environments 直接安装tensorflow via this guide.

    您应该运行的命令是安装当前版本的纯 CPU TensorFlow,建议初学者有:

    conda create -n tf tensorflow
    conda activate tf
    

    【讨论】:

      猜你喜欢
      • 2019-05-02
      • 1970-01-01
      • 1970-01-01
      • 2019-05-02
      • 1970-01-01
      • 2017-11-04
      • 1970-01-01
      • 2018-06-30
      • 1970-01-01
      相关资源
      最近更新 更多