Windows 10 - 没有名为 'keras' 的模块
Windows 10 - No Module named 'keras'
我是 Python 和 Jupyter 的新手。我正在 运行ning Jupyter 6.1.4 并使用 pip install keras 导入 keras 但是当我尝试 运行 导入代码时 - 我收到下面列出的错误:
enter image description here
使用 pip 安装 tensorflow
pip install tensorflow
然后像这样进行所有导入
from tensorflow.keras.datasets import mnist
from tensorflow.keras.preprocessing.image import load_img, array_to_img
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
我是 Python 和 Jupyter 的新手。我正在 运行ning Jupyter 6.1.4 并使用 pip install keras 导入 keras 但是当我尝试 运行 导入代码时 - 我收到下面列出的错误:
enter image description here
使用 pip 安装 tensorflow
pip install tensorflow
然后像这样进行所有导入
from tensorflow.keras.datasets import mnist
from tensorflow.keras.preprocessing.image import load_img, array_to_img
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense