virtual environment python conda code example
Example 1: conda create environment based on requirements.txt
# using pip
pip install -r requirements.txt
# using Conda
conda create --name --file requirements.txt
Example 2: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 3: how to make a conda environment
conda create --name myenv
#to activate environment:
conda activate myenv