Use Jupyter inside a virtual env

  • python -m venv projectname
  • source projectname/bin/activate
  • (venv) $ pip install ipykernel
  • (venv) $ ipython kernel install –user –name=projectname