Skip to content

Instantly share code, notes, and snippets.

View swedishmike's full-sized avatar
🤡
Beavering away...

Mike Eriksson swedishmike

🤡
Beavering away...
View GitHub Profile
@swedishmike
swedishmike / gist:902fb27d627313c31a95e31c44e302ac
Created October 17, 2019 13:07
Adding and removing virtual environments to Jupyter notebook
## Create the virtual environment
conda create -n 'environment_name'
## Activate the virtual environment
conda activate 'environment_name'
## Make sure that ipykernel is installed
pip install --user ipykernel
## Add the new virtual environment to Jupyter