I am trying to follow the tutorial “Create a New Python based KNIME Extension”
When I try to create a conda environment using the suggested command
“conda create -n my_python_env python=3.11 knime-python-base=5.4 knime-
extension=5.4 -c knime -c conda-forge”
I get the following error:
PackagesNotFoundError: The following packages are not available from current channels:
- knime-
- knime-python-base=5.4
Any suggestions? Thanks
Hey there,
that is odd - I just tried it myself and it seems to work alright.
Can you share some more details? Which OS are you on? Are you using Anaconda or Miniconda?
Looking at the error: Maybe it cuts “knime-extension=5.4” off somehow?
Can you try again by copying from the below
conda create -n my_python_env python=3.11 knime-python-base=5.4 knime-extension=5.4 -c knime -c conda-forge
2 Likes
Hi Martin,
Thanks for your help
Mac OS Ventura 13.7.4 (22H420) and Anaconda
% conda create -n my_python_env python=3.11 knime-python-base=5.4 knime-extension=5.4 -c knime -c
usage: conda create [-h] [–clone ENV] [-n ENVIRONMENT | -p PATH] [-c CHANNEL]
[–use-local] [–override-channels]
[–repodata-fn REPODATA_FNS] [–strict-channel-priority]
[–no-channel-priority] [–no-deps | --only-deps]
[–no-pin] [–copy] [-C] [-k] [–offline] [-d] [–json]
[-q] [-v] [-y] [–download-only] [–show-channel-urls]
[–file FILE] [–no-default-packages] [–dev]
[package_spec [package_spec …]]
conda create: error: argument -c/–channel: expected one argument
Maybe I should re-install Anaconda to ensure I’m up to date?
Cheers,
Mark
think you are missing conda-forge at the end… the error that is thrown is because there is -c at the end without a channel specified…
can you try copying from my post using the copy button:

it should be this and I think the conda-forge got cut off
conda create -n my_python_env python=3.11 knime-python-base=5.4 knime-extension=5.4 -c knime -c conda-forge
1 Like
@raelldata did you manage to make it work?