pip install in jupyter notebook code example

Example 1: install jupyter

pip3 install jupyter

Example 2: install jupyter notebook

pip install notebook

Example 3: install jupyter notebook

conda install -c conda-forge notebook

Example 4: how to install jupyter notebook

#instead of useing Jupyter Use Google Collab
#there you don't even have to install anything
#GOTo : https://colab.research.google.com/

#but if you want Jupyter only use
pip install jupyter

Example 5: how to install packages from jupyter notebook

import sys
!conda install --yes --prefix {sys.prefix} <package-name-here>

Example 6: pip install in jupyter notebook

!pip install package-name