Keras isn't using Theano
问题 1- I create a virtual env: mkvirtualenv kerasTH 2- I install keras using pip install keras 3- That's the output for pip list Package Version ------------- ------- h5py 2.10.0 joblib 0.16.0 Keras 2.4.3 numpy 1.19.1 Pillow 7.2.0 pip 20.2.2 PyYAML 5.3.1 scikit-learn 0.23.2 scipy 1.5.2 setuptools 49.6.0 six 1.15.0 Theano 1.0.5 threadpoolctl 2.1.0 wheel 0.35.1 When I run python and then import keras I get this error ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via `pip