没有名为'_pywrap_tensorflow_internal'的模块错误Python

时间:2019-10-17 14:02:52

标签: python tensorflow keras

我将keras库降级为python 3.7,但是当我想运行我的代码时,出现此错误。

import _pywrap_tensorflow_internal
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

我所做的就是编写以下代码:

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

我该如何解决这个问题?

0 个答案:

没有答案