ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via ‘pip install tensorflow’

Muhammad Iqbal bazmi
1 min readJul 15, 2020

Issue solved…

Photo by Tim Gouw on Unsplash

Hi, you wanna play with Deep Learning, right. You are trying to set the environment But when you import the Keras you are getting above Error.

You searched over Google and didn’t find a simple solution.

Simple Solution is:

I have solved my issue by just installing the below file.

https://download.visualstudio.microsoft.com/download/pr/d60aa805-26e9-47df-b4e3-cd6fcc392333/7D7105C52FCD6766BEEE1AE162AA81E278686122C1E44890712326634D0B055E/VC_redist.x64.exe

  • Restart the computer after installing it.

I hope you don’t have any problem now.

If there is any problem, comment below.

Thanks!

--

--

Muhammad Iqbal bazmi

A self-taught programmer, Data Scientist and Machine Learning Engineer