Python installation could not be determined

Hello
I just updated my Knime to version 3.6. I have got the fellwoing error running a Python script:
ERROR Python Script (1⇒1) 0:218:36 Execute failed: Could not start Python kernel. Error during Python installation test: Python installation could not be determined… See log for details.

Please your help

Malik

Dear @malik,

did you follow the instructions from https://www.knime.com/blog/setting-up-the-knime-python-extension-revisited-for-python-30-and-20?

Best,

Christian

Dear Christian
I already have the anaconda python installed in my computer- As I said I just updated Knime to the new version.
Also i cant install the Python extension because it already installed.

Also i have reinstall Anaconda 3 and set the python path-it still the same problem

Dear @malik,

you can follow the instructions from https://www.knime.com/blog/setting-up-the-knime-python-extension-revisited-for-python-30-and-20 and try to create the start-up bat? Does that help?

Christian

My OS is windows. I have re-install Anaconda python 3 and still have the same problem.

Did you create the .bat files accordingly?

Yes- Its content is
@REM Adapt the directory in the PATH to your system
@SET PATH=C:\Users\Owner\Anaconda3;%PATH%
@CALL activate py35_knime || ECHO Activating py35_knime failed
@python %*

If i run the .bat file i get :slight_smile:Python 3.5.5 |Anaconda, Inc.| (default, Apr 7 2018, 04:52:34) [MSC v.1900 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

(base) C:\Users\Owner>conda info --envs

conda environments:

base * C:\Users\Owner\Anaconda3
py35_knime C:\Users\Owner\Anaconda3\envs\py35_knime

Finally i have succeed to make it work- the problem was that my Antivirus blocked Knime running the .bat file :slight_smile:

2 Likes

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