conda
is recommended for a reproducible environment.
Once you have conda installed, create a new conda environment by running this:
conda env create -f environment.yml
The new environment is called "task1". Activate it by running this:
conda activate task1