I want to install tensorflow to use Keras LSTM I installed Keras, and i import this lines to my code.
from keras.callbacks import LambdaCallback
from keras.
For others who faced this problem, TensorFlow might not support the version you are running yet. At the time of writing, you will get the same error when running Python 3.9 and trying to install TensorFlow. You need to ensure your Python version is supported by TensorFlow.
https://www.tensorflow.org/install/
TensorFlow is tested and supported on the following 64-bit systems:
- Python 3.5–3.8
I then used a different python. i.e. python3.8 -m pip install tensorflow==2.3.0