Configure Jupyter Notebook With Python Version

How to Install multiple python Version and Enable jupyter notebook with Particular Version

  1. First locate python directories

Ex. My case its in

usr/local/bin/python3

usr/local/bin/python3.9

I would suggest to use virtual environment and then configure python version with it

As I am selecting python3.9

  1. Pip install virtualenv

  2. virtualenv -p /usr/local/bin/python3.9 jup_env

  3. source jup_env/bin/activate

  4. jupyter notebook –allow-root

Then type jupyter notebook in terminal. Verify version by writing !python –version in cell.