KNIME Python: Manual Setup "Could not connect"

Hi everyone,

I’m encountering a persistent problem with manual Python integration in KNIME 5.2.2. I’m using Python 3.10.11 and can no longer use Conda. While KNIME successfully detects my created Python environment (as shown in Image 1), any Python node I open gets stuck on “Starting Python…” indefinitely (as shown in Image 2) without showing any errors.
Image1

Image1.1

Image 2

I’ve confirmed pandas, numpy, and pyarrow are installed via pip. Has anyone experienced this or can suggest troubleshooting steps to get manual Python working smoothly? Your help would be greatly appreciated!

Hi @Tushar_0251 , take a look at the following and see if this helps resolve your problem. It’s not exactly the same, but the steps there (including installing a whole load more python libraries) should move you along, I hope!

The article refers to Python 3.9 but in my experience, any Python version up to 3.11 should work ok.

1 Like

The node should use Python 3 by default, but did you check the Executable Selection tab in the Python Script node if it is set to Python 3? Just that it is not trying to start Python 2 which is not defined.
Alternatively, did you try the newer Python script node?

1 Like