This node provides a Python environment specification to downstream Python-aware nodes such as Python Script nodes. The environment is defined using pixi, a fast package manager built on top of conda-forge and PyPI that ensures reproducible Python environments across different platforms (Windows, Linux, macOS).
The node offers three ways to specify the Python environment:
[workspace] channels = ["knime", "conda-forge"] platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"] [dependencies] python = "3.13.*" knime-python-base = "*"
Environment resolution: After specifying the environment using any of the above methods, click the "Resolve Dependencies" button. This runs pixi to resolve all package dependencies and verify that the environment can be created on all configured platforms. The resolved environment is stored in a lock file, ensuring that the exact same package versions are used regardless of when or where the workflow is executed.
Using the environment: The output port of this node provides a Python Environment specification that can be connected to Python Script nodes and other Python-aware KNIME nodes. These downstream nodes will automatically use the specified environment when executing Python code.
Note: The actual Python environment is not created by this node. Instead, downstream Python nodes will automatically create and cache the environment on first use based on the lock file specification.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Conda Integration from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!