conda create -y --name py37 python=3.7 conda install --force-reinstall -y -q --name py37 -c conda-forge --file requirements.txt conda activate py37 ... conda deactivate