when chaing conda environment how to set python 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: create new env in anaconda
conda create --name myenv