Skip to content

Instantly share code, notes, and snippets.

@lobrien
Created August 13, 2019 22:24
Show Gist options
  • Save lobrien/dc349cbf2362ef2eaca422018fa91442 to your computer and use it in GitHub Desktop.
Save lobrien/dc349cbf2362ef2eaca422018fa91442 to your computer and use it in GitHub Desktop.
Proper way to install via pip in Jupyter notebook
Display the source blob
Display the rendered blob
Raw
# Install a pip package in the current Jupyter kernel
import sys
!{sys.executable} -m pip install numpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment