zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    Flink开发中的问题
    怎么确定一个Flink job的资源
    Flink统计日活
    Flink读取resource资源文件
    Spark-6-如何缓解消除数据倾斜
    Spark-5-如何定位导致数据倾斜的代码
    Spark-4-为何要处理数据倾斜
    集合遍历删除中遇到问题
    1206
    1205
  • 原文地址:https://www.cnblogs.com/codeWorldCodeHeart/p/12051282.html
Copyright © 2011-2022 走看看