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

Troubleshooting ​

In case you run into issues with KNIME's Python integration, use this guide to gather information and resolve common problems. If issues persist, contact KNIME support or ask for help in the KNIME Forum.

1. Gathering Debug Information ​

Accessing the KNIME Log ​

The knime.log contains detailed error messages from node execution.

  • In KNIME Analytics Platform: View → Open KNIME log
  • On Disk: <path-to-knime-workspace>/.metadata/knime/knime.log
  • Tip: Increase logging verbosity in File → Preferences → KNIME.

Python Environment Export (Conda Only) ​

If you are using a Conda-based setup, export your environment specification to share with support:

bash
conda activate <env_name>
conda env export

Installation Logs (Pixi & Bundled) ​

If extension installation fails with "An error occurred while installing the items":

  1. Locate the Plugin: Go to the KNIME installation folder → plugins. Find the folder starting with org.knime.pythonscripting.channel or similar.
  2. Open Logs: Inside that folder, go to bin/. Check create_env.err and create_env.out.

2. Environment Management Issues (Pixi) ​

Identifying Environment Details ​

If you are unsure which Python environment or executable a node is currently using, hover your mouse over the environment input or output port of the Python Script or Python Environment Provider node. A tooltip will appear showing the full path to the active Python executable and the environment's storage location.

Finding the active Python environment path

You can find further details about the installed packages, their versions and transitive dependencies by clicking Open port view in the node monitor of the Python Environment Provider node.

Modifying a Permanent Environment ​

Issue: My permanent environment is missing a package. Should I add it manually to the folder?Recommendation: Do not manually modify the environment folder. Pixi uses a strict lock-file system. If you inject packages manually, the environment becomes out of sync and may fail when shared. Fix: Open the Python Environment Provider node, add the missing package to the list, and re-execute. This ensures the lock-file is updated and the environment remains portable.

Read/Write Permission Errors ​

Issue: Execution fails with "access denied" or permission errors when building an environment.Fix: Redirect the Pixi Environment Base Path to a folder where you have full permissions (e.g., a non-system drive or a dedicated folder in your user directory):

  1. Go to File → Preferences → KNIME → Python.
  2. Change the Pixi Environment Base Path.
  3. Restart KNIME.

3. Scripting & Execution Errors ​

"No module named knime.api" ​

Cause: You likely installed a package named knime via pip in your environment, which clashes with the internal KNIME scripting API. Fix: Run pip uninstall knime in your terminal for that environment.

Conda channel access on the executor ​

Issue: On-the-fly environments fail to install because the executor cannot reach public conda channels (e.g. conda-forge). Cause: The executor runs behind a firewall or in a restricted network without access to external package repositories. Fix: For environments created by the Python Environment Provider node, configure a channel mirror in Pixi's system-wide configuration file (/etc/pixi/config.toml in the executor image) — see Channel Mirrors & Air-Gapped Setups. A .condarc file does not affect these environments.

For environments created by the legacy Conda Environment Propagation node, add a .condarc file to the executor instead. The correct location in the executor image is:

/home/knime/.condarc

See the conda documentation for available settings, including channel mirrors and proxy configuration.

SSL Errors ​

Issue: Python nodes fail with SSL errors while other KNIME nodes (like GET Request) work. Fix: Add -Dknime.python.cacerts=AP to your knime.ini file. This forces Python to use the same certificate authorities trusted by KNIME.

Unsupported Data Types ​

Issue: ValueError: Data type 'uint32' ... is not supported. Fix: Cast the column in your script: df["col"] = pd.to_numeric(df["col"]).

Windows Long Path Issues ​

Issue: Installation or execution fails due to deeply nested folders. Fix: Enable long path support in the Windows Registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem by setting LongPathsEnabled to 1.

Pager
Previous pageExecutor and Hub Configuration
Next pageAPI Reference