Jupyter · Kernels and environments

Install a package from a notebook

Use the % magic so pip installs into the notebook's own environment.

%pip install pandas

Official Jupyter documentation

More kernels and environments commands

All kernels and environments commands · Jupyter cheatsheet

Was this page helpful?