Skip to content

Instantly share code, notes, and snippets.

@JolleJolles
Created December 9, 2019 10:30
Show Gist options
  • Save JolleJolles/fda3bf41b39158820b6e060102f1e8d8 to your computer and use it in GitHub Desktop.
Save JolleJolles/fda3bf41b39158820b6e060102f1e8d8 to your computer and use it in GitHub Desktop.
# Create virtual environment
mkvirtualenv -p python3 PROJECTNAME
# From inside the environment install ipykernel
pip install ipykernel
# Install a new kernel
ipython kernel install --user --name=PROJECTNAME
# Start Jupyter lab
jupyter lab
# And choose the above kernel in the list when asked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment