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


Want to get more 🔥 tips like this one?

Subscribe to get notified about new dev tutorials