Skip to content
KNIME Documentation
Main Navigation Get startedBuildWork with KnimeAccount and adminRelease notesDeveloper tools
Community Hub
DevelopersKnime
Sidebar Navigation

Getting Started

Installation

User Guide

Release Notes

Install Extensions

Building Workflows

Components

Flow Control

Expressions

File Handling

Deployment

Integrated Deployment

Workflow Invocation

Best Practices

Advanced Features

AI Extension

Get Started

Build an Agent

Inject context with RAG

LLM Providers

Tutorials

Summarize product reviews

Product FAQ assistant

Restaurant agent

Your first local agent

Task extractor

Reporting

Kerberos

Extensions

Database

Overview

Tutorials

Read and filter data from a database

Write a transformed dataset to a database

Concepts

Ports and Sessions

Query Generation

Type Mapping

Deprecated Framework

Connecting

Connect: Dedicated Node

Connect: File-Based Database

Connect: Generic DB Connector

Register a JDBC Driver

Install Third-Party Driver Plug-in

Drivers on Hub and Server

Kerberos Constrained Delegation

Reading and Transforming

Read Data

Transform Data Visually

Run a Custom SQL Query

Parameterize a Query

Writing and Modifying

Insert, Update, or Merge

Delete Rows

Bulk Load Data

Create and Remove Tables

Use Transactions

Reference

Connector Node Settings

JDBC Driver Reference

Deprecated Node Mapping

Migrate Deprecated Workflows

Python

Overview

Tutorials

Python Scripting Quickstart

Data App Development Using Plotly

Data Processing

K-AI Scripting Assistant

Data Type Conversion

Batch Processing

Jupyter Integration

Environment Management

Pixi Configuration

Dependency Management

Environment Persistence

Channel Mirrors & Air-Gapped Setups

Conda Migration

Alternative Configurations

Conda and Miniforge Setup

Conda Environment Propagation

Manual Python Configuration

Legacy Node Migration

Concepts

Pixi Backend Architecture

Storage Logic

Python Environments on Executors

Reference

Python Scripting API

Bundled Packages

Executor and Hub Configuration

Troubleshooting Guide

API Reference

Inputs and outputs

Classes

Views

Utility functions

R

Deep Learning

Snowflake

Google Cloud

Azure

AWS

Big Data

Big Data Admin

Big Data Secured Cluster

Databricks

Microsoft Fabric

Power BI

Tableau

Report Designer

H2O

Changelogs

Version 5.12

Version 5.11

Version 5.10

Version 5.9

Version 5.8

Version 5.7

Version 5.6

Version 5.5

Version 5.3

Extensions

Set up Conda / Miniforge (Legacy AP-wide Environment) ​

This guide describes how to install Conda and configure an AP-wide Python environment using the KNIME Preferences page. This is the legacy approach — for new workflows consider using Pixi via the Python Environment Provider node instead.

Conda disambiguation and licensing

  • conda is the open-source environment management tool developed by Anaconda.
  • conda-forge is an open-source, free-to-use channel of Python and R packages.
  • Anaconda is a company that also provides the defaults channel. This channel is subject to Anaconda's Terms of Conditions.
  • mamba / micromamba are open-source re-implementations of conda. Conda recently switched to the mamba solver because it is much faster.
  • Miniconda is a free installer for conda provided by Anaconda. It is configured to use the defaults channel by default.
  • Miniforge is a free installer for conda configured to only use conda-forge. Unless you explicitly add other channels it will never use packages subject to Anaconda's TOC.

Prerequisites ​

  1. Install the Python extension. Drag and drop the extension from the KNIME Hub into the workbench to install it, or go to File → Install KNIME Extensions and install KNIME Python Integration from the KNIME & Extensions category.

  2. Install Conda. We recommend Miniforge. Default installation paths:

    OSDefault path
    WindowsC:\Users\<your-username>\miniforge3\
    macOS/Users/<your-username>/miniforge3
    Linux/home/<your-username>/miniforge3
  3. Configure KNIME. In File → Preferences → KNIME → Conda, set the Path to the Conda installation directory.

    Once a valid path is entered, the installed Conda version is displayed.

Create an environment with metapackages ​

Two KNIME metapackages are available:

  • knime-python-base — the minimal set of packages always needed.
  • knime-python-scripting — includes knime-python-base plus all packages used in the bundled environment.

Package lists and version matrix: knime conda channel.

Create a new environment ​

bash
conda create --name my_python_env \
  -c knime -c conda-forge \
  knime-python-scripting=5.7 python=3.11 \
  other_package other_package_with_version=1.2.3

Install additional packages ​

bash
conda install --name my_python_env -c conda-forge <package>

Name Clash Warning

Do not install the package knime using pip into the environment that will be used inside KNIME. This causes a name clash and makes importing the KNIME Scripting API (knime.scripting.io) fail. If you accidentally installed it, you must run pip uninstall knime in your Python environment.

Select the environment in KNIME ​

  1. Go to File → Preferences → KNIME → Python.
  2. Choose Conda as the Python environment configuration.
  3. Select your environment from the dropdown.

Next steps ​

  • Propagate environments per workflow
  • Manual Python executable
Pager
Previous pageConda Migration
Next pageConda Environment Propagation