Skip to content

Instantly share code, notes, and snippets.

@bkutlu
Last active January 8, 2020 00:42
Show Gist options
  • Save bkutlu/62014712343cfec307a4dbfd508f6929 to your computer and use it in GitHub Desktop.
Save bkutlu/62014712343cfec307a4dbfd508f6929 to your computer and use it in GitHub Desktop.
Working with conda environments
conda create --name myenv
conda env update --file environment.yml
conda deactivate
conda remove --name myenv --all
# viewing the list of environments
conda env list
# intial set up of conda autoenvironments
https://ericmjl.github.io/blog/2018/12/25/conda-hacks-for-data-science-efficiency/
1. create .auto-conda-env
2. edit .bashrc to source (1)
3. create .aliases
See also: https://www.leouieda.com/blog/conda-envs.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment