I just installed Visual Studio 2019 and Tensorflow, but I cannot import Keras because I get the following error message:
Keras requires TensorFlow 2.2 or higher. Install TensorFlow via
pip install tensorflow
The problem is that I had no choice but to install Tensorflow 1.15, because I have the following setup:
- Visual Studio 2019
- Python 3.7
- CPU i7 920 (no avs, only SSE)
- OS Windows 7 64
- Nvidia GPU
- CUDA 10.1
I had to download and install a wheel for that Python version, my CPU, and that CUDA version named "tensorflow-1.15.0-cp37-cp37m-win_amd64".
Tensorflow seems to work (it detects my GPU and prints a "hello world" message) but the problem is that Visual Studio installs the newest version of Keras.
How can I specify an older, compatible version, and what is the newer version compatible?