#til pip is run from the command line, not the Python interpreter. It is a program that installs modules, so you can use them from Python

import sys  
!{sys.executable} -m pip install <package_name>

OR

import pip; pip.main(['install', 'module_name_here'])