Make sure you have jupyter installed and virtual envrionment set up already. I prefer virtualenv. If you don't have it set up, you can follow these steps,
$ pip install jupyter $ pip install virtualenv $ python -m virtualenv venv $ source venv/bin/activate
Here, we've created virtual environment called
venv and activated it.