Hi all,
I am trying to build my nodes. I already did it a few months ago. But now the pipeline is quite the same but I got an exception
2023-02-15 10:42:53,393 : ERROR : ModalContext : : Node : Off-target : 4:18 : Configure failed (Py4JException): An exception was raised by the Python Proxy. Return Message: Traceback (most recent call last):
File β/home/sergeyadmin/distr/knime_4.6.1/plugins/at.ac.univie.pharminfo.offtarget.channel.bin.linux.x86_64_0.1.0.202302150919/env/lib/python3.9/site-packages/py4j/clientserver.pyβ, line 617, in _call_proxy
return_value = getattr(self.pool[obj_id], method)(*params)
File β/home/sergeyadmin/distr/knime_4.6.1/plugins/org.knime.python3.nodes_4.6.2.v202209150850/src/main/python/knime_node_backend.pyβ, line 314, in setParameters
version = parse(version)
File β/home/sergeyadmin/distr/knime_4.6.1/plugins/at.ac.univie.pharminfo.offtarget.channel.bin.linux.x86_64_0.1.0.202302150919/env/lib/python3.9/site-packages/packaging/version.pyβ, line 52, in parse
return Version(version)
File β/home/sergeyadmin/distr/knime_4.6.1/plugins/at.ac.univie.pharminfo.offtarget.channel.bin.linux.x86_64_0.1.0.202302150919/env/lib/python3.9/site-packages/packaging/version.pyβ, line 197, in init
raise InvalidVersion(f"Invalid version: β{version}β")
packaging.version.InvalidVersion: Invalid version: β4.6.3.v202209271016β
What does it mean? Is it an invalid KNIME version, or is something wrong with the build system?
My KNIME is 4.6.1
I use the following line from the last version of the tutorial to build the extension:
build_python_extension.py --knime-version 4.6 src build
My conda environment file is:
name: offtarget_env_internal
channels:
- knime
- conda-forge
dependencies:- python=3.9 # base dependency
- knime-python-base>=4.7 # base dependency
- knime-extension>=4.7 # base dependency
- keras
- packaging
- h5py
- tensorflow-cpu
- py4j
- pandas
Maybe it is becauseknime-extension
is 4.7 in the env file?