anaconda new environment python 3.6 code example
Example 1: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name <env_name> --file requirements.txt
Example 2: how to make conda to use global packages
export PYTHONNOUSERSITE=0