Install a python module using pip as part of your notebook

Using process described in detail at https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/

# Install colorama in the current Jupyter kernel
import sys
!{sys.executable} -m pip install colorama
Collecting colorama
  Downloading https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Installing collected packages: colorama
Successfully installed colorama-0.4.1
import colorama
dir(colorama)
['AnsiToWin32',
 'Back',
 'Cursor',
 'Fore',
 'Style',
 '__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__',
 '__version__',
 'ansi',
 'ansitowin32',
 'colorama_text',
 'deinit',
 'init',
 'initialise',
 'reinit',
 'win32',
 'winterm']