【发布时间】:2020-02-17 08:39:39
【问题描述】:
我想安装 tensorflow 以使用 Keras LSTM 我安装了 Keras,并将这些行导入到我的代码中。
from keras.callbacks import LambdaCallback
from keras.models import Sequential
from keras.layers import Dense, Activation
from keras.layers import LSTM
from keras.optimizers import RMSprop
运行代码时出错:
No module named 'tensorflow'
当我写“pip install tensorflow”时出现 Cmd 错误:
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
Pip 版本为 19.3,python 版本为 3.7
【问题讨论】:
-
你用的是什么平台?
-
@MatiasValdenegro vscode
-
那不是平台,我是指操作系统、计算机架构等
-
@MatiasValdenegro windows 10
-
@ŞevvalKahraman 您的操作系统/计算机是 32 位还是 64 位架构??
标签: python tensorflow keras lstm