-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add FAQ item on Jupyter Notebook
Add FAQ answer about Jupyter Notebook. Closes #217
- Loading branch information
1 parent
5486c1c
commit 2aa4c26
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
============================ | ||
Frequently Asked Questions | ||
============================ | ||
|
||
How can I use PyStan with Jupyter Notebook? | ||
Use `nest-asyncio <https://pypi.org/project/nest-asyncio/>`_. This package is needed | ||
because Jupter Notebook blocks the use of certain `asyncio | ||
<https://docs.python.org/3/library/asyncio.html>`_ functions. (To verify this, try | ||
running ``asyncio.run(asyncio.sleep(1))`` in a notebook.) If you would like to learn | ||
more about the problem, see the following issue: `ipython/ipykernel#548 | ||
<https://github.com/ipython/ipykernel/issues/548>`_. This problem only affects Jupyter | ||
Notebook. It does not affect IPython. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,3 +81,4 @@ Documentation | |
reference | ||
plugins | ||
contributing | ||
faq |