how to install packages from jupyter notebook

C++
!pip install package-name# Install a pip package in the current Jupyter kernel
import sys
!{sys.executable} -m pip install numpy
import sys
!conda install --yes --prefix {sys.prefix} <package-name-here>install a package in jupyter notebook
Source

Also in C++: