
正文
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>






