import sys pip install code example Example: install packages from jupyter notebook !pip install package-name