How to check which version of Keras is installed?
Solution 1:
Python library authors put the version number in <module>.__version__
. You can print it by running this on the command line:
python -c 'import keras; print(keras.__version__)'
If it's Windows terminal, enclose snippet with double-quotes like below
python -c "import keras; print(keras.__version__)"
Solution 2:
You can write:
python
import keras
keras.__version__