I recently updated to knime 5.4 last week and when i m trying to run the python code into it i get the error “missing module named py4j”.
Please help.
Thank you.
Hi @alizeh_37,
The error indicates that py4j
—a dependency of the new Python integration—is missing. You can try the following:
-
Use the Bundled Environment:
Select the “bundled” environment on the Python preference page. It includes many common packages, though it might lack some you require. -
Create a Custom Environment:
Alternatively, create an environment with the metapackageknime-python-base
(which contains the minimum requirements) using:conda create -n <my_knime_env> -c conda-forge -c knime python knime-python-base <other packages>
For more details, please refer to the KNIME Python installation guide.
1 Like