keras check version code example
Example 1: how to find keras version
python
import keras
keras.__version__
Example 2: how to know if keras is installed
python -c 'import keras; print(keras.__version__)'
python
import keras
keras.__version__
python -c 'import keras; print(keras.__version__)'