Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 646 Bytes

environments.md

File metadata and controls

20 lines (13 loc) · 646 Bytes

Conda Envs

Your question can probably be answered here.

Sharing an Env

  1. activate the env
  2. run conda env export --from-history > environment.yml
  3. share the .yml file

To make an env from such a file, just run conda env create -f environment.yml

Removing and Env

conda remove --name myenv --all

Adding an Env to Jupyter notebook

Make sure you deactivate your conda env before doing this.

  1. install ipykernel conda install -c anaconda ipykernel
  2. run this python -m ipykernel install --user --name=ENVNAME