I get this error when I try to import Keras into my project.
How to solve ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via
pip install tensorflow
I verified the versions I have installed (with pip) for everything and I have:
I have linked a picture of the full error. There is some stuff about Dll but I'm not sure if this is what creates the error.
How to solve ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow I have linked a picture of the full error.
ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via `pip install tensorflow` Bookmark this question. Show activity on this post. How I can solve this problem?
Restart your computer after installing it. by simply writing a command on anaconda\command prompt as "conda install keras==2.3.1"
ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow
Fix:
python -m pip install –upgrade pip
pip install keras==2.1.5
This worked for me.
If above step are not solving the error then check your libraries with specific version.
Python==3.6.4
Numpy==1.18.5
Pandas==1.1.4
scikit-learn==0.21.2
Tensorflow==1.13.1
keras==2.1.5
Hope this worked for you.
Tensorflow requires Python 3.5–3.8 , pip and venv >= 19.0
in order to fix it:
sudo apt install python3-pip
pip3 install --upgrade pip
python3 -m pip install tensorflow
if you already had tensorflow installed substitute the last command this this:
pip3 install --upgrade tensorflow
hope it helped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With