Jupyter 简明教程

IPython - Installation

IPython 默认包含在 Python 的 Anaconda 发行版中。它可以从 Anaconda 的下载页面 www.anaconda.com/download/ 下载。此链接上提供了适用于所有主要操作系统(Windows、MacOS 和 Linux)和架构(32 位和 64 位)的二进制文件。

IPython is included by default in Anaconda distribution of Python. It can be downloaded from Anaconda’s download page www.anaconda.com/download/ Binaries for all major OS (Windows, MacOS and Linux) and architecture (32 bit and 64 bit) are available on this link.

要单独在标准 Python 安装中安装 IPython,您可以使用 pip 命令,如下所示 −

To install IPython separately in standard Python installation, you can use pip command as shown below −

pip3 install ipython

IPython 在内部使用以下软件包 −

IPython internally uses following packages −

Sr.No.

IPython dependencies & Functionality

1

colorama Cross-platform API for printing colored terminal text from Python

2

jedi An autocompletion tool for Python

3

pickleshare Small ‘shelve’ like datastore with concurrency support

4

prompt_toolkit Library for building powerful interactive command lines in Python

5

pygments Syntax highlighting package written in Python

6

simplegeneric Simple generic functions

7

traitlets Configuration system for Python applications.

通常,所有依赖项都将自动安装。否则,您可以使用 pip 单独安装它们。

In general, all dependencies get installed automatically. Else, you can install them individually using pip.