Knime Server Error-Python Script Node

Hi Knime Team,

I was trying to deploy a workflow on knime server which contains python script node but after execution it gave me an error :

“Execute failed: Could not start Python kernel. Error during Python installation test: Could not start Python executable at the given location (no_conda_environment_selected/bin/python): Cannot run program “no_conda_environment_selected/bin/python”: error=2, No such file or directory…”

Below I am sharing the detailed error log file and request you to share the solution for the same.

knime_server_log.txt (8.1 KB)

Hi,

You have to setup the python environment analog to the setup on your local Analytics Platform (AP) as described here: https://docs.knime.com/2020-07/python_installation_guide/index.html#setup_python_integration

If you have setup the python environment on your local AP already you can export your preferences and copy the python regarding lines to the executor.epf of the KNIME Server as described here: https://docs.knime.com/2020-07/server_admin_guide/index.html#preferences-file

The python environment itself has to be installed on the server first and the PATH configuration lines have to be adjusted to the server locations.

After a restart of the Executor the python environment should be available to all Workflow Jobs on the KNIME Server.

Best,
Michael

2 Likes

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