how to create a new env in conda code example

Example 1: conda create environment

conda create -n myenv python=3.6

Example 2: conda create environment python 3.6

conda create -n myenv python=x.x

Example 3: conda env

conda create -n myenv python=3.6

Example 4: anaconda duplicate environment

conda create --name myclone --clone myenv

Example 5: how to make a conda environment

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

Example 6: conda create environment from file

conda env create -f environment.yml

Tags:

Cpp Example