Installing python packages from Jupyter - vicgalle/wiki-example GitHub Wiki
Conda
Install a conda package in the current Jupyter kernel
import sys
!conda install --yes --prefix {sys.prefix} numpy
Pip
Install a pip package in the current Jupyter kernel
import sys
!{sys.executable} -m pip install numpy
References
https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/