Does Knime support packages other than Anaconda packages?

Hello everyone,

I’m using Python Script node to run my Jupyter Notebook, which includes packages that are not one of Anaconda packages, and I guess due to that, I’m getting the following error "ModuleNotFoundError: No module named ‘snscrape’"
Is there any suggestion on how to avoid such conflict?

Thanks in advance!

Hi @JayR
I have the same problem.

Thanks in advance too!!

@MoLa_Data, @JayR you can use whatever Python installation you want. In this case I would suggest you install a basic Python version 3.8 or greater and then install the package via pip; and see if any compatibility issues arise.

If you are successful you could use a Conda environment propagation and see if you can ‚save‘ your environment.

2 Likes

Thanks @mlauber71, but the problem is that I can’t install that package “Snscrape” using conda command, since it’s not available for installation from Anaconda.org.

@JayR you should activate the conda environment you are using with KNIME and try to just install it via pip

pip3 install snscrape

or

pip install snscrape
2 Likes

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