Python Scripting
Runner supports KNIME's Python scripting nodes. The recommended approach is to use the new Python nodes (org.knime.features.python3.scripting.feature.group), which include a bundled Python environment and require no additional setup beyond installing the extension. The legacy "Python (legacy)" nodes require a manual Python installation and are not officially supported.
Using the bundled Python environment
Open the environment and use Extension Search to add KNIME Python Integration. Confirm that the feature
org.knime.features.python3.scripting.feature.groupis listed under Features.Under Preference Entries, add:
Key Value /instance/org.knime.python3.scripting.nodes/pythonEnvironmentTypebundledSave the environment and run your schedule.
Using a custom Python installation
If the bundled environment does not meet your needs — specific Python version, dependencies not available in the bundled distribution — you can install Python manually via a Dockerfile instruction.
Open the environment and use Extension Search to add KNIME Python Integration as above.
Under Additional Dockerfile Instructions, add a snippet to install Python and your dependencies. The example below installs Python 3.9 with
py4j,pyarrow,numpy, andpandas— adapt the version and package list to your requirements:dockerfileENV DEBIAN_FRONTEND=noninteractive RUN apt update && apt install -y software-properties-common RUN add-apt-repository ppa:deadsnakes/ppa RUN apt update && apt install -y python3.9 python3.9-distutils python3.9-venv RUN python3.9 -m ensurepip RUN pip3.9 install py4j pyarrow numpy pandasUnder Preference Entries, add:
Key Value /instance/org.knime.python3.scripting.nodes/pythonEnvironmentTypemanual/instance/org.knime.python3.scripting.nodes/python3Pathpython3.9Make sure
python3Pathmatches the Python binary name from your Dockerfile snippet.Save the environment and run your schedule.
See Environments for the full list of available settings.