I try to create my first pure python extension following the guide " Create a New Python based KNIME Extension" (Create a New Python based KNIME Extension). In step 8 the “My Template Node” does not appear in the node repository. Therefore, some questions arises:
(1) During installation via “conda install python=3.9 knime-python-base=4.7 knime-extension=4.7 -c knime -c conda-forge” in the conda environment a request for administrative previleges came up. I choosed ‘No’ (Windows OS) which is shown in the command line print out:
Downloading and Extracting Packages
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ menuinst called from non-root env C:\Program Files\User\miniconda\envs\KNIME
done
Is this an issue?
(2) My KNIME Version is 5.1, but the knime-python-base and knime-extension are pinned to 4.7 - could that be an issue?
(3) Regarding config.yml and knime.yml:
(3a) Is it OK to use forward slashes only (even on Windows)?
(3b) Must spaces in path names somehow escaped (e.g. c:/Program Files/)?
(4) Regarding knime.yml:
(4a) Are _ allowed in name? Or in general: Which characters are allowed/forbidden in name?
(4b) Which values are possible for group_id? (I did not changed that value in the template, but it is interesting to know.
(5) Regarding adding *-Dknime.python.extension.config=C:/Program Files/User/dev/python_based_knime_ext/basic/config.yml
- to knime.ini:
(5a) Must spaces soomehow escaped?
(5b) Could this line be placed anywhere or in a specific section of the knime.ini?
I hope my questions help to improve the " Create a New Python based KNIME Extension" section.
11 posts - 2 participants