Skip to content

Instantly share code, notes, and snippets.

@cobanov
Created March 3, 2022 11:55
Show Gist options
  • Save cobanov/91af5b1f9411627aeaf81857f1003a0f to your computer and use it in GitHub Desktop.
Save cobanov/91af5b1f9411627aeaf81857f1003a0f to your computer and use it in GitHub Desktop.
# Environment
conda create --name env_name python=3.x|Create a new environment named env_name, install Python 3.x
conda activate env_name|Activate the new environment to use it
conda deactivate|Deactivate the environment
conda env list|Get a list of all my environments, active environment is shown with *
conda env export > puppies.yml|Save current environment to a file
# Packages
conda install PACKAGENAME|Install a package included in Anaconda
conda remove beautiful-soup
conda list|View list of packages and versions installed in active environment
conda env list|Get a list of all my environments, active environment is shown with *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment