Python install config problems

I am running 5.3.1 and using the install guide to add python. I downloaded anaconda and miniconda and they are not working for me. Right now I have anaconda installed and when I look at the setting it just says testing installation and never finishes testing.

I went to the python section and changed from bundled to manual and it says the python version

When I add a python script node I get some exception with memory message

What am i doing wrong? I followed the steps the best I could.

@Mark_Bland I would recommend a fresh installation of python using miniconda and getting rid of the whole anaconda package

2 Likes

He there,

Some questions:

After installing conda, did you create an environment and did you install required package for it to be used in KNIME? It is described here:

https://docs.knime.com/latest/python_installation_guide/index.html#metapackages

Did you install required extensions:

And

In general I’d recommend to keep using the bundled env in settings, unless you really need a specific additional package that is missing from bundled env ALL the time. Then use conda env propagation to use a custom env for specific use cases.

I wrote an article on this topic here which might come in handy.

3 Likes

I am starting over. I uninstall anaconda. Rebooted. Reinstall mini. I still see the same issue. I did install the python integration not the conda integration but i see it in the list

I was trying to use the bundled but since I get the testing message I was trying to use the manually config env. Would rather use all the default settings at this point.

So I have both integrations installed and pointed to mini but i still get testing installation.

And I still get this message

May I ask which packages you need that are missing from bundled so you need a custom env?

When does the error on the propagation node show up? Immediately or after you configure it and choose your custom env?

1 Like

Hi @Mark_Bland , if you do find yourself going down the manual python installation route, see this post which may help

2 Likes

@Mark_Bland I do not think the bundled version will work with the conda environment propagation. You will have to create a new environment but you will first have to make KNIME find and activate the conda itself.

I do not understand why it started working. I did not change anything but the next day I checked and it works now. Thanks for all the help.

3 Likes

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