##// END OF EJS Templates
docs/autogen_shortcuts.py: support Python 3.8...
docs/autogen_shortcuts.py: support Python 3.8 In 64e72a955 (Restore shortcuts in documentation, define identifiers, 2023-01-08), some typing annotations were added to docs/autogen_shortcuts.py using the builtin container type 'list'. This feature is only available starting in Python 3.9 [1], but setup.cfg lists Python 3.8 as the earliest supported Python version. This leads to a failing documentation build in a Python 3.8 virtual environment. Fix this by using the capitalized name 'List' from the 'typing' module to keep Python 3.8 compatibility. [1] https://docs.python.org/3/whatsnew/3.9.html#type-hinting-generics-in-standard-collections

File last commit:

r26565:29cc7180
r28181:2c9a826a
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