Virtual environments for Anaconda Python
Useful conda commands
Installation using Conda To create a conda environment named ‘myenv’:
conda create --name myenv To create an environment from a file ‘test.yml’:
conda env create -f test.yml The environment name comes from the line ‘name: tag’ inside the ‘test.yml’ file.
To create a named environment from a file ‘test.yml’:
conda env create -f test.yml -n pytorch To create an environment from the base environment:
conda create --name myenv --clone base To remove an environment named ‘envname’:
[Read More]