添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • Prerequisite: Python
  • Installing Jupyter using Anaconda and conda
  • Alternative for experienced Python users: Installing Jupyter with pip
  • This information explains how to install the Jupyter Notebook and the IPython kernel.

    Prerequisite: Python

    While Jupyter runs code in many programming languages, Python is a requirement (Python 3.3 or greater, or Python 2.7) for installing the Jupyter Notebook.

    We recommend using the Anaconda distribution to install Python and Jupyter. We’ll go through its installation in the next section.

    Installing Jupyter using Anaconda and conda

    For new users, we highly recommend installing Anaconda . Anaconda conveniently installs Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.

    Use the following installation steps:

  • Download Anaconda . We recommend downloading Anaconda’s latest Python 3 version (currently Python 3.5).

  • Install the version of Anaconda which you downloaded, following the instructions on the download page.

  • Congratulations, you have installed Jupyter Notebook. To run the notebook:

    jupyter notebook
    

    See Running the Notebook for more details.

    Important

    Jupyter installation requires Python 3.3 or greater, or Python 2.7. IPython 1.x, which included the parts that later became Jupyter, was the last version to support Python 3.2 and 2.6.

    As an existing Python user, you may wish to install Jupyter using Python’s package manager, pip, instead of Anaconda.

    First, ensure that you have the latest pip; older versions may have trouble with some dependencies:

    pip3 install --upgrade pip
    

    Then install the Jupyter Notebook using:

    pip3 install jupyter
    

    (Use pip if using legacy Python 2.)

    Congratulations. You have installed Jupyter Notebook. See Running the Notebook for more details.

  •