【问题标题】:cannot import keras in anaconda无法在 anaconda 中导入 keras
【发布时间】:2018-03-21 08:54:00
【问题描述】:

我通过 pip install keras 在 anaconda 中安装了 keras。我安装了 tensorflow 并且可以导入它。但是我无法导入 keras。它显示

 File "<ipython-input-2-88d96843a926>", line 1, in <module>
    import keras

ImportError: No module named 'keras'

【问题讨论】:

  • 你在使用环境吗?

标签: deep-learning keras anaconda


【解决方案1】:

查找已安装的软件包 点子列表 或尝试 conda install 可能不止一条蟒蛇存在

【讨论】:

  • 我有 python 3.5 和 pythn 3.4。是这个问题吗??
  • 没有名为 'keras' 的模块意味着未安装可能会安装但对于 python 2.x
猜你喜欢
  • 1970-01-01
  • 2019-12-23
  • 2017-09-12
  • 1970-01-01
  • 2018-02-01
  • 2020-08-17
  • 2020-04-29
  • 2023-04-05
  • 1970-01-01
相关资源
最近更新 更多