【发布时间】:2019-10-15 15:57:30
【问题描述】:
我是使用 keras 或 tensorflow 的新手。
我首先在 Anaconda Prompt 中使用conda install keras 来安装 keras。然后我去 Jupyter Notebook 使用 import keras 或 from keras.datasets import mnist 调用 keras。错误信息显示为:No module named 'tensorflow'。
不知道keras是不是一定要安装tensorflow,然后才可以调用。然后我再次在 Anaconda Prompt 中使用了conda install tensorflow。结果是这样的:
然后我重新运行这些语句以在 Jupyter Notebook 中再次调用 keras。现在错误消息是:ImportError: DLL load failed: The specified module could not be found.Failed to load the native TensorFlow runtime.
我不知道接下来该怎么做才能使用 keras 来解决这个问题。
感谢您的帮助。
【问题讨论】:
标签: python tensorflow keras