anaconda create virtual environment code example

Example 1: conda remove environment

conda remove --name myenv --all

Example 2: anaconda create environment python version

conda create -n myenv python=3.6

Example 3: create a virtual environment python conda

conda create -n yourenvname python=x.x anaconda

Example 4: how to make a conda environment

conda create --name myenv
#to activate environment:
conda activate myenv

Example 5: conda create environment python 3

conda create -n [env-name] python

Example 6: how to create virtual environment in anaconda

conda create --name myenv