Python Environment Creation Problem

@kienerj on a Windows machine you can (currently) see the YAML files used under:

\knime_4.5.x\plugins\org.knime.python2.envconfigs_4.5.x.yyyyyyyyyy\envconfigs

that can help to build one’s own configuration. If you already have built an environment and want to save it in a ‘clean’ (reusable) way the way to go seems to be the --from-history function:

Linux …

conda env export --from-history | grep -v “prefix” > environment.yaml

Windows:

conda env export --from-history | findstr -v “prefix” > environment.yaml

3 Likes