Knime batch execute Doesn't Support Python3?

Using Knime batch execute. has python (1->1) node.
When using python 2 to do execute, is working. but when using python3. always show this:

knime.exe -consoleLog -noexit -reset -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“E:/Knime/2018/099 MAN Modeling/01 Api analysis and modeling”

CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
INFO main BatchExecutor ===== Executing workflow E:\Knime\03XL\2018\099 MAN Modeling\01 Api analysis and modeling =====
SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See for further details.
ERROR KNIME-Worker-3 Node Execute failed: Could not start python kernel:
Error during python installation test: Could not find python executable at the given location: python3.! See log for details.
INFO main BatchExecutor Workflow execution done Finished in 7 secs (7681ms)
INFO main BatchExecutor ========= Workflow did not execute sucessfully ============

what ever I using anaconda, new py 3 install, it is not working.
and it works when I execute it in windows knime
Is there any trick here?

Using windows 10 64bit
Python 3.6.4

1 Like

I solved this problem.
Need add an -preferences=“E:\Knime\9999 prefrence\python3.epf”
export the preferences file them use the file.

knime.exe -consoleLog -reset -nosplash -nosave -preferences=“E:\Knime\9999 prefrence\python3.epf” -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“E:/Knime/03XL/2018/099 MAN Modeling/01 Api analysis and modeling”


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.