Python Snippet failed

python
#1

I have python 2.7.2 installed and it works.

Community project 09904001_PythonScripting failed on Python Snippet node.  Error: python snippet execute failed: java.lang.runtimeexception: java.io.ioexception: cannot run program "python": createprocess error=2, the system cannot find the file specified.

Any idea? do I need configuring?

Kind regards

Wei

0 Likes

#2

From what I understand, python needs to be installed on a windows machine.
There all also settings in preferences/knime/python which may help in specifying the desired path of the python executable.

Simon.

0 Likes

#3

Thanks, I am running windows, it is the python path that is cocking up, default setting wouldn't work. Now I have pointed it to the right exe file and python snippet is working now.

Wei

0 Likes

#4

Hi Wei_Cheng I have same problem here but could not solve it yet.

Could you explain further how you made it?

0 Likes

#5

HI @asenkron -

This is a pretty old topic, and things have changed quite a bit with our Python integration over time. Have you checked out the documentation for setting up Python to work with KNIME?

1 Like