Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.1 KB

File metadata and controls

39 lines (25 loc) · 1.1 KB

1 Conda Virtual Environments

If you use conda for managing Python virtual environments, first you need to install either Miniconda or Anaconda.

1.1 Libmamba Solver

Conda's own solver is very slow, so I recommend using Libmamba. To use the new solver, first update conda in the base environment (optional step):

conda update -n base conda

Then install and activate Libmamba as the solver:

conda install -n base conda-libmamba-solver
conda config --set solver libmamba

1.2 Environments

Following YAML configuration files for Conda environments are available:

You can create a new virtual environment as follows:

conda env create -f <NAME-OF-THE-FILE>

Once the environment has been created, you can activate it by executing the following command:

conda activate <NAME-OF-THE-ENVIRONMENT>