spatial-data-lab / knime-geospatial-extension

This repository is built for KNIME-CGA Geospatial Project, and the goal is to build Python-based nodes for geospatial analysis in KNIME Analytic Platform.
MIT License
25 stars 10 forks source link

Installation error #321

Open JesusLopezBaeza opened 9 months ago

JesusLopezBaeza commented 9 months ago

I'm trying to install the Extension and I get the following error:

An error occurred while installing the items session context was:(profile=KNIMEProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]sdl.harvard.geospatial.channel.bin.macosx.x86_64 1.2.0.202311151543, action=org.knime.product.p2.actions.ShellExec). ShellExec command exited non-zero exit value: ./create_env.sh: line 69: realpath: command not found mkdir: /bundling/envs: Read-only file system

I'm using KNIME version 5.2.0 on a MacBook with OS 10.15.7

Screen Shot 2024-01-31 at 18 55 48
JonasKlotz commented 9 months ago

Hey Jesús,

You can probably solve this issue by setting the environment variable KNIME_PYTHON_BUNDLING_PATH to a directory where you have writing access. This variable determines where the conda environment will be installed to.

The problem might be either due to writing in a read only directory or due to the missing realpath method in your OS. This method was already removed in the KNIME extension bundling process, so this should not be a problem in the future.

If the problem still occurs I'm happy to help!