IPython Kernel for Jupyter

This package provides the IPython kernel for Jupyter.

Installation from source

  1. git clone
  2. cd ipykernel
  3. pip install -e .

After that, all normal ipython commands will use this newly-installed version of the kernel.

Running tests

Ensure you have nosetests and the nose-warnings-filters plugin installed with

pip install nose nose-warnings-filters

and then from the root directory

nosetests ipykernel

Running tests with coverage

Follow the instructions from Running tests. Ensure you have the coverage module installed with

pip install coverage

and then from the root directory

nosetests --with-coverage --cover-package ipykernel ipykernel


IPython Kernel for Jupyter

此包为Jupyter提供IPython内核。

从源安装

  1. git clone
  2. cd ipykernel
  3. pip install -e .

之后,所有正常的 ipython 命令将使用这个新安装的内核版本。

运行测试

确保您具有安装

nosetests nose-warnings-filters 插件
pip install nose nose-warnings-filters

然后从根目录

nosetests ipykernel

运行覆盖

的测试

按照运行测试的说明进行操作。确保您具有使用

安装的 coverage 模块
pip install coverage

然后从根目录

nosetests –with-coverage –cover-package ipykernel ipykernel




相关问题推荐