Python module error while running KERAS Network Learner node

Hello all,

I am trying to run the workflow for the example “Glucose TSA” available in the Codeless Time Series Analysis with KNIME space in KAP 5.1.1 on my laptop.

hub.knime.com

Running the workflow fails the Network Learner Node with the following message -

Traceback (most recent call last): File “”, line 2, in File “C:\Program Files\KNIME\plugins\org.knime.dl.python_5.1.0.v202303061416\py\DLPythonNetwork.py”, line 53, in from pandas.util.testing import network ModuleNotFoundError: No module named ‘pandas.util.testing’

I checked the py file in the specified location. There is statement in the file as below

from pandas.util.testing import network

I checked ChatGPT and it advised to remove this statement. I ran the code file post removing this statement on my machine and in the same environment. I did not get any error.

The import from pandas.util.testing import network is problematic as pandas.util.testing was deprecated and later removed in newer versions of pandas. Since there’s no reference to network in the rest of the code, this line can be safely removed.

Can I please request if the KNIME team can check the same and help to resolve the error?

Any help and steer is highly appreciated.

–

Best Regards,

nilotpalc