create virtual environment conda code example
Example 1: conda create environment
conda create -n myenv python=3.6
Example 2: anaconda create environment python version
conda create -n myenv python=3.6
Example 3: conda create environment without packages
conda create --name myenv python=3.8 --no-default-packages
Example 4: conda create environment based on requirements.txt
pip install -r requirements.txt
conda create --name <env_name> --file requirements.txt
Example 5: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 6: how to make a conda environment
conda create --name myenv
conda activate myenv