> For the complete documentation index, see [llms.txt](https://stephanosterburg.gitbook.io/scrapbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stephanosterburg.gitbook.io/scrapbook/data-science/jupiter-notebook-tips-and-tricks/jupyter.md).

# Jupyter

Just tried the following with success.

In your project folder:

```
pipenv install ipykernel
pipenv shell
```

This will bring up a terminal in your virtualenv like this:

```
(my-virtualenv-name) bash-4.4$
```

In that shell do:

```
python -m ipykernel install --user --name=my-virtualenv-name
```

Launch jupyter notebook:

```
jupyter notebook
```

In your notebook, Kernel -> Change Kernel. Your kernel should now be an option.

To run jupyter in pycharm you will be asked for the token:

```
jupyter notebook list
```

Currently running servers: <http://127.0.0.1:8888/?token=f85145dda03dc598bbbfa6e53b93cbcb27629ea00cfd2105> :: /home/....

You only want to copy/paste the number after token=
