Skip to content

Instantly share code, notes, and snippets.

@j-h-m
j-h-m / conda-env-notebook.md
Last active August 8, 2021 00:09
Add Anaconda Environment to Jupyter Notebook (Kernel)

Add Anaconda Environment to Jupyter Notebook (Kernel)

Assuming you have already created and activated your Anaconda environment, follow these steps:

  1. conda install -c anaconda ipykernel
  2. Win/Mac: python -m ipykernel install --user --name=REPLACE_WITH_CONDA_ENVIRONMENT_NAME
  3. Linux: python -m ipykernel install --user --name=$CONDA_DEFAULT_ENV
  • $CONDA_DEFAULT_ENV translates to current environment name