From 43a76783ba0c7ea60b3c19703263d768d64d9656 Mon Sep 17 00:00:00 2001 From: James Guana Date: Sun, 2 Feb 2025 20:25:08 +0800 Subject: [PATCH] Modules not found from pandas.util.testing import network Errors out in: pandas.util.testing import network checking the pandas source code shows that the network method is not available. ```bash Execute failed: An error occurred while creating the Keras network from its layer specifications. Details: No module named 'pandas.util.testing' Traceback (most recent call last): File "", line 2, in File "/opt/knime_5.4.0.linux.gtk.x86_64/knime_5.4.0/plugins/org.knime.dl.python_5.4.0.v202407310837/py/DLPythonNetwork.py", line 53, in from pandas.util.testing import network ModuleNotFoundError: No module named 'pandas.util.testing' ``` --- org.knime.dl.python/py/DLPythonNetwork.py | 1 - 1 file changed, 1 deletion(-) diff --git a/org.knime.dl.python/py/DLPythonNetwork.py b/org.knime.dl.python/py/DLPythonNetwork.py index d47275cb..61159286 100644 --- a/org.knime.dl.python/py/DLPythonNetwork.py +++ b/org.knime.dl.python/py/DLPythonNetwork.py @@ -52,7 +52,6 @@ from pandas.util.testing import network - _networks = {} _network_id_suffix = 0