Hi,
I am not sure how to use the python snipped in version 3.5.3. I have used the ones in the older version very often. Not sure how to use it in the new version. Looking for demo to use.
This came up in my search but this python snippet is an old version.
Appreciate your help. A screenshot of a simple script with input and output variables will help. Thanks!
Actually, the new nodes don’t really differ from the ones shown in the video when it comes to using them. (Or am I missing something here?)
However, the way one has to set up the integration changed a bit. You can find a guide on how to do that for the new integration here.
Do you have a specific thing in mind that you’d like to do using the new nodes, or have code that you’d want to port to the new nodes? Maybe I can help you getting started there.
When i try to run the Python Source nodes locally, I get the following error.
2018-12-28 10:31:03,532 : DEBUG : Thread-27 : PythonKernelTester : : : Error occurred during testing Python2 installation
2018-12-28 10:31:03,532 : DEBUG : Thread-27 : PythonKernelTester : : : Executed command: python C:\Users\ssubra\Downloads\knime_3.3.2.win32.win32.x86_64\knime_3.3.2\plugins\org.knime.python2_3.5.0.v201712011355\py\PythonKernelTester.py 2.7.0
PYTHONPATH=:
PATH=:
Raw test output:
Python version: 2.7.12
Library pandas is missing, required minimum version is 0.20.0
There is pandas library installed in the machine and it is 0.23.1
My recommendation with Python and KNIME would be to use anaconda and strictly let anaconda do the version management of packages since this seems to be complicated
You might want to check these discussions and also the official KNIME and python guide. I had success with a mixture of the guide and the Anaconda Navigator but did not have the time to write a real guide.