How to use the Jupyter from a Virtual Environment

$ python -m venv projectname
$ source projectname/bin/activate
(venv) $ pip install ipykernel
(venv) $ ipython kernel install --user --name=projectname
 
Now, Run the jupyter notebook within the venv
 
From the kernels, choose the available newly created kernel. This will have all the installed
 libraries within the virtual environment venv. 

Comments