• python(一) jupyter 安裝


    copy from https://jupyter.org/install

    Getting started with JupyterLab

    Installation

    JupyterLab can be installed using conda or pip. For more detailed instructions, consult the installation guide.

    conda

    If you use conda, you can install it with:

    conda install -c conda-forge jupyterlab
    

    pip

    If you use pip, you can install it with:

    pip install jupyterlab
    

    If installing using pip install --user, you must add the user-level bin directory to your PATH environment variable in order to launch jupyter lab.

    Getting started with the classic Jupyter Notebook

    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 JupyterLab or the classic Jupyter Notebook.

    Installing Jupyter Notebook using Anaconda

    We strongly recommend installing Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science.

    First, download Anaconda. We recommend downloading Anaconda’s latest Python 3 version.

    Second, 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, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows):

    jupyter notebook
    

    See Running the Notebook for more details.

    Installing Jupyter Notebook with pip

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

    If you have Python 3 installed (which is recommended):

    python3 -m pip install --upgrade pip
    python3 -m pip install jupyter
    

    If you have Python 2 installed:

    python -m pip install --upgrade pip
    python -m pip install jupyter
    

    Congratulations, you have installed Jupyter Notebook! To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows):

    jupyter notebook
    

    See Running the Notebook for more details.

      </div>
  • 相关阅读:
    [idea]2014.1.13
    [idea]2014.1.12
    纪念我2014.1.4 中国银行广东分行面试
    [essay]2014.1.2
    纪念我12月29日南方电网笔试
    [essay]12.26
    [idea]
    纪念我12月24日终于用妖姬拿首胜了
    Android自动化测试环境部署
    Monitor工具使用详解
  • 原文地址:https://www.cnblogs.com/codeWorldCodeHeart/p/12051282.html
Copyright © 2020-2023  润新知