# 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=


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stephanosterburg.gitbook.io/scrapbook/data-science/jupiter-notebook-tips-and-tricks/jupyter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
