ModuleNotFoundError: No module named 'joblib'

Hi everyone, I was trying to run a Python script in knime but unfortunately is not working, please see the image:

The error message says:

Traceback (most recent call last):
File “C:\Program Files\KNIME\plugins\org.knime.python2_3.7.1.v201901281201\py\”, line 278, in execute
exec(source_code, self._exec_env, self._exec_env)
File “”, line 12, in
ModuleNotFoundError: No module named ‘joblib’

But when I run the same script in Anaconda I have no problems running it.

Thank you

Hi mauuuuu5,

one possible reason can be that different conda environments are used by KNIME and in your jupyter notebook. The simples way to check that environment is the same is to check where the packages are imported from. You can add something like print(pd.__file__) somewhere before joblib import in both cases and make sure that printout is the same.



Yeah you are right now I can run de code

Thank you

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.