Skip to content

How to import the Python packages

JuaKaliKubwa edited this page Feb 6, 2022 · 8 revisions

How to import the Python packages?

Following this steps to create a new environment based on existing package references:

Words in <Brackets> have to be replaced by individual names.

  1. First add the OpenSource channel to your Anaconda channel list by conda config --add channels conda-forge

  2. Switching to the directory where the environment.yml was exportet/downloaded to by cd <directory>

  3. Create a new environment on that basis by conda env create --name <env-name> -f environment.yml

  4. Now you can activate the new environment by activate <env-name>