Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
conda env export -n <target_env_name> > env.yml.

An example env.yml file may look like:

...

When the installation is complete, you will find all the executables in your environment in <install_dir>/bin.

Using your containerised environment

You may activate your new environment with the convenience tykky activate function, very similar to how you would do it with conda:

No Format
tykky activate <install_dir>

When you are done, you can also deactivate it with:

No Format
tykky deactivate

Alternative use

You may alternatively call them directly using the full path, or add it to your your PATH to make them available as if you were activating the environment:

...

You can expose your containerised conda environment as an additional kernel in ECMWF's JupyterHub service.  To do that, first make sure you have python and ipykernel installed in your environment, and then you can create the kernel with:

...