Skip to content

Instantly share code, notes, and snippets.

@t27
Created September 12, 2020 05:42
Show Gist options
  • Save t27/9fc79edc0934c571f64b062413ad2ff4 to your computer and use it in GitHub Desktop.
Save t27/9fc79edc0934c571f64b062413ad2ff4 to your computer and use it in GitHub Desktop.
Create a Jupyter kernel from inside a Python environment
# ensure you have activated the environment
python -m ipykernel install --user --name my_env --display-name "Python (my_env)"
# this will create a Jupyter kernel called my_env that will use the python binary and the packages from the current project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment