"Could not find Python executable at the given location" -> see screenshot attached.
The output of either a Python 3.5 or 3.6 environment from the command line looks like this:
(knime_py35) F:\Anaconda\envs\knime_py35\etc\conda\activate.d>set "KERAS_BACKEND
=theano"
Python 3.5.4 | packaged by conda-forge | (default, Aug 10 2017, 01:38:47) [MSC v
.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
(knime_py36) F:\Anaconda\envs\knime_py36\etc\conda\activate.d>set "KERAS_BACKEND
=theano"
Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bi
t (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
My environment: Windows Server 2012, KNIME 3.4.x, Anaconda3 5.0.0.
Sorry, I've seen the image now - not sure why I didn't/couldn't before.
Have you confirmed that your batch file runs correctly from the command line? In other words, if you execute knime_py35.bat myfile.py does it activate the correct environment, start Python and run myfile.py?
In my KNIME config - which I think I set up before the blog post appeared, and it seems to work OK so I haven't changed it - I set 'Path to Python 3 executable' to the actual path of python.exe in the Anaconda environment. In your case I think this would be
thanks for your help. As I mentioned: Executing the .bat file opens a python CLI perfectly fine although I didn't try to run a seperate python script for further tests. But I figured out that after updating the KNIME environment it now recognizes the python executable. I will try to run some scripts during the day.
Although this thread is a bit older, just wanted to mentioned that the Python-nodes’ default settings are set to Python2. If you want to use Python3 you need to change the setting in the node’s option tab. Otherwise you run into exactly this error.