Conda path on a Mac

I am using the latest Knime (5.3.2) and the latest Anaconda Navigator and have installed Anaconda using the default for all users, although I am using a MacBook (M1 processor). I have followed the Knime Python Integration Guide but get stuck on setting up the path. I cannot use the “browse” tool I think because the path that is set up is in a hidden folder. I believe that folder is “opt/anaconda3/bin”. That is where I see the executable conda file.

I have gone to Preferences, Conda and see where the path is entered, but I honestly don’t know what to enter. Nothing seems to work. Any help?

Thanks,
Neil

@kneil welcome to the KNIME forum.

You could try a command like this

conda info - all | grep -i python

My personal recommendation would be to use python with the minimalist miniconda though

edit:

which python

should also work

2 Likes

I will try your suggestion. I was reading that article and didn’t get too far with it either, especially with setting up Miniforge. I’m not proficient in the details, so even downloading Miniforge3-MacOSX-arm64.sh, I honestly don’t know how to install it. I’m used to executables that install and thus the reason I installed Anaconda Navigator. I have no qualms with switching to the Miniconda if it makes sense to get it to work.

@kneil on macOS it is only a few commands in the shell. I also had to get used to this unix like way but in the end it is not that hard and you will have plenty of options once you wrap your head around this. Mac is great because it gives you the comfort of a nice gui and all the options of (free) unix tools.

Install Xcode and dare to just copy the homebrew command into the console. Then it can take care of miniforge as described. And you will only have to do it once.

And maybe after having got a glimpse of the fascinating world of python dependencies and versions one appreciates the service of the good people at knime even more :slight_smile:

1 Like

Markus,

You’re talking to a guy who has been a heavy user of Alteryx for the past 10 years, so this is a switch for me.

Along with the link you provided, I also used the instructions in Ultimate Guide: Installing Miniforge for AI Development on M1 Macs to install Miniforge on my Mac. I was able to simply go back into the preferences, make a few changes, and have Python running in Knime.

I also found Miniforge setup useful.

Thank you so much for your assistance. Looking forward to exploring Knime and Python more.

Regards,
Neil

1 Like

Then I hope you enjoy using knime. We have quite a few (former) users of this tool here and resources to help.

And there is always the forum to get some friendly help - so just ask :slight_smile:

2 Likes

Almost there but getting a “:x: Execution failed: java.lang.RuntimeException: Failed copying file stores to local handler” message in the script. Looks like this is a common error but no resolution.