Keras module not found

Keras has been installed with pip and yet when I try to run EXAMPLES/04_Analytics/14_Deep_Learning/02_Keras/01_Classify_images_using_InceptionV3 and it gives me error in the log message:

ERROR DL Network Executor 6:76 An error occurred while communicating with Python (while reading in the Keras network).
Cause: An error occurred in Python: Traceback (most recent call last):
File “/Applications/KNIME”, line 491, in execute
exec(source_code, self._exec_env, self._exec_env)
File “”, line 2, in
File “/Applications/KNIME”, line 51, in
from DLKerasNetwork import DLKerasNetwork
File “/Applications/KNIME”, line 52, in
import keras
ModuleNotFoundError: No module named ‘keras’

ERROR DL Network Executor  6:76       Execute failed: An error occured during execution of the deep learning network. See log for details.

What am I doing wrong?

Hi alkopop79,

Please make sure that you selected the correct Python executable under File > Preferences > KNIME > Python > Path to Python 3 executable. Also make sure that keras is on the corresponding PYTHONPATH. We recommend setting up a conda environment as described here.

Please let me know if the problem persists.

Eventually uninstalling tensorflow and do a pip install tensorflow==1.5 helped. Thank you for your reply!