conda create new environment python 3.6 code example

Example 1: conda create environment python 3.6

conda create -n myenv python=x.x

Example 2: 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 3: anaconda duplicate environment

conda create --name myclone --clone myenv

Example 4: delete conda env

conda env remove -n ENV_NAME

Example 5: conda create environment python 3

conda create -n [env-name] python

Tags:

Css Example