##// END OF EJS Templates
Improve async detection mechanism with blacklist...
Improve async detection mechanism with blacklist Because the async repl works by wrapping any code that raises SyntaxError in an async function and trying to execute it again, cell bodies that are invalid at the top level but valid in functions and methods (e.g. return and yield statements) currently allow executing invalid code. This patch blacklists return and yield statements outside of a function or method to restore the proper SyntaxError behavior.

File last commit:

r22679:367c6fe3
r24485:c4bf6326
Show More
index.rst
58 lines | 1.1 KiB | text/x-rst | RstLexer

Installation

This sections will guide you through :ref:`installing IPython itself <install>`, and installing :ref:`kernels for Jupyter <kernel_install>` if you wish to work with multiple version of Python, or multiple environments.

Quick install reminder

Here is a quick reminder of the commands needed for installation if you are already familiar with IPython and are just searching to refresh your memory:

Install IPython:

$ pip install ipython

Install and register an IPython kernel with Jupyter:

$ python -m pip install ipykernel

$ python -m ipykernel install [--user] [--name <machine-readable-name>] [--display-name <"User Friendly Name">]

for more help see

$ python -m ipykernel install  --help