how to check whether keras is installed or not code example Example: how to know if keras is installed python -c 'import keras; print(keras.__version__)'