Step 1:
upgrade the pip3
apt-get install python3-pip
sudo pip3 install --upgrade pip
Step 2:
Create virtual environment
sudo pip3 install virtualenv
pip3 install virtualenv
mkdir demo cd demo virtualenv mynotebookenv source mynotebookenv/bin/activate
Step 3:
install the jupyter
pip install jupyter
jupyter notebook