error in installation of knime python based extension

Hi,

I’m getting this error when I tried to install the knime python based extension (version 5.1) in another computer.

Any suggestions?

Thanks,

Hagay

Hey,

are you talking about

or about

or about a custom extension?

Can you send a screenshot of the Preferences -> Available Update Sites?

Thanks
Steffen

1 Like

Hi,

Its a custom python node that I built as a Knime Extension.

also in the available software to install I can see it (its the first one- but the installation failed)

one important thing - this computer is in inside network and cannot access to web - if that’s a problem there is a way to download and install it locally?

thanks in advance,

Hagay

Hi,

I see. Every pure-Python extension needs to have also the Python Extension Development (Labs) extension installed (which might have been shown in one of the steps of the installation wizard of your custom extension?).

Said extension is on the regular KNIME Analytics Platform Update Site. If you do not have access to that, you could download it following this guide and copy it to your computer without internet access.

Does that work?

Best regards
Steffen

1 Like

Hi,

I downloaded KNIME Analytics Platform Update Site and copy it, also the “Python Extension Development (Labs)” successfully installed, but when I tried to install the custom node I got this error:

any suggestions?
thanks,
Hagay

Hi,
I set up virtual machine download ,KNIME Analytics Platform Update Site and installed Python Extension Development (Labs), then shut the network down and the custom extension installation failed as well with the same error -

is there anything else that I need to download?

thanks,
Hagay

Hi @hagay_finiti,

ok, we are a huge step further. The remaining issue could be because of long paths not being enabled on that computer (a very Windows-specific issue).

Please have a look at the following and tell me whether that helped:

Best regards
Steffen

Hi,
tried the 2 potential solution but they didn’t work,
in error log of the extension I get the error : “critical libmamba Download error (6) Couldn’t resolve host name [https://conda.anaconda.org/conda-forge/win-64/ca-certificates-2023.7.22-h56e8100_0.conda]
Could not resolve host: conda.anaconda.org

there is any replacement for it like we had with KNIME Analytics Platform Update Site?
or does it means that I need to install minicinda on the remote location?

thanks,
Hagay

update - install Miniconda on the VM wasn’t helpful.
I get the same error:
critical libmamba Download error (6) Couldn’t resolve host name [https://conda.anaconda.org/conda-forge/win-64/ca-certificates-2023.7.22-h56e8100_0.conda]
Could not resolve host: conda.anaconda.org

Ok, that has nothing to do with long paths.

With which command exactly did you create the extension? In new bundling environments the build_python_extension.py does not provide the whole environment anymore. Instead, during installation it tries to download all the packages necessary.

We can check which one is the case: have a look at the size of org.finiti.panel_builder.channel.bin.win32.......:

  1. Some hundred MB? Then it should have been bundled with an older bundling environment and we need to investigate further.
  2. Some 5-30MB? Then there is no complete environment shipped with it and it cannot be installed on a computer without internet access.

For the second scenario, you can bundle it again with build_python_extension.py --include-packages --knime-version 5.1 <path/to/extension> <path/to/destination>. Have also a look at build_python_extension.py --help.

Does that work for you?

Best regards
Steffen

1 Like

yes - its about 20MB - while the knime 4.74 version custom extension was over 400MB.
I will try the build option you suggested and update.
thanks,
Hagay

1 Like

It worked,

Thanks for your help Steffen,
Hagay

1 Like

Thanks for your consistent patience. I will remodel the corresponding section in the next weeks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.