A conda environment is a directory that contains a specific collection of conda packages that you have installed.
The following subdirectories comprise the default Anaconda environment:
/bin
/include
/lib
/share
conda env list
# conda environments:
#
base * C:\Anaconda2-Python2.7
conda list --explicit > bio-env.txt
conda env remove --name bio-env
Create a new environment named envName, install Python 3.5
conda create --name envName python=3.5
conda create --clone envName --name envTargetName
conda env create --file env-name.txt
See Python - virtualenv (Python Environment / venv)
activate
source activate
See Python - virtualenv (Python Environment / venv)
deactivate
source deactivate
Share a copy of the environment.yaml file.
When using activate, change the command prompt from PS1 to include the activated environment. The default is True.
changeps1: False
List the history of each change to the current environment
conda list --revisions
Restore environment to a previous revision
conda install --revision 2