Skip to content

Instantly share code, notes, and snippets.

@arkottke
Created January 27, 2021 05:28
Show Gist options
  • Save arkottke/a0a55342193a7b89e5d6c8f2f4ec7592 to your computer and use it in GitHub Desktop.
Save arkottke/a0a55342193a7b89e5d6c8f2f4ec7592 to your computer and use it in GitHub Desktop.
Proper use of conda and jupyter notebook
# Install jupyter in the base environment.
conda activate base
conda install -c conda-forge jupyterlab nb_conda_kernels jupyter_contrib_nbextensions
# Switch to an environment, and register it to jupyter
conda install ipykernel
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment