Skip to content

Instantly share code, notes, and snippets.

@jupihes
Created November 11, 2024 12:38
Show Gist options
  • Save jupihes/5bf9e78148d3c1834d0ffd17dc7616b5 to your computer and use it in GitHub Desktop.
Save jupihes/5bf9e78148d3c1834d0ffd17dc7616b5 to your computer and use it in GitHub Desktop.

Installing Python Packages

pip vs. conda

# Install a pip package in the current Jupyter kernel
import sys
!{sys.executable} -m pip install <package_name>

For details, review, great post by jakevdp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment