I ran into some troubles trying to run the python source node. “Could not start Python. There are problems with your Python environment:”
I tried going to preference to set my environment up. I put my correct directory to anaconda3 and also made sure anaconda is up and running on itself. However, I am stuck with this error message.
Does anyone know how to resolve this or what could be the cause?
@kathputu you will have to take a look at the Python 3 settings. Python 2 will in most cases not be used or necessary. So if you do not have a special need for Python 2 you can ignore the warnings.
Thank you for the reply!
I am wondering what do you mean by checking the python3 settings? Do you mean from anaconda or in KNIME. In addition, ff I ignore and just hit apply, I get the same error message when I try running the python source code.
@kathputu if you choose the bundled settings you can just set that up in the settings, maybe following the official guide:
where is conda
which environment to use (
bundled or your own one)
Geospatial nodes, tighter Python integration, new visualization nodes, and further enhancements to the UI/UX.
I have a longer article about KNIME and Python you might be interested in:
TL;DR: install python/conda thru Miniforge, find and use specific YAML-files to manage an environment, tell KNIME and use their…
Reading time: 14 min read
Ok, I will take a look into the article. Thank you very much!
I have a follow up question - I wasn’t able to find a Conda tab under the KNIME tab in my preference. And my Python tab only has the Conda and Manual tab. I am wondering if you know why?
@kathputu I think the separate conda tab should be there since KNIME version 4.6. But the path itself should also work in earlier versions of KNIME. Which version are you using?
Oh I’m using the KNIME 4.5.1. I will update my KNIME and hopefully this will be solved!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.