How To Install Python Package From Jupyter Notebook

Nov 07, 2018 · by Tim Kamanin

So you're lazy like me and want to PIP install Python packages directly from Jupyter Notebook?

Congratulations, it's possible!

Add this code to a jupyter notebook cell, execute the cell and you're ready to go:

import sys
!{sys.executable} -m pip install PUT_A_NAME_OF_THE_PACKAGE_HERE


Hey, if you've found this useful, please share the post to help other folks find it:

There's even more:

Subscribe for updates

  • via Twitter: @timonweb
  • old school RSS:
  • or evergreen email ↓ ↓ ↓