From a4ee761ce187535e7129a615959fb588caf0652a Mon Sep 17 00:00:00 2001 From: Sylvain Corlay Date: Fri, 27 Dec 2019 11:12:52 +0100 Subject: [PATCH] Update installation instruction --- install.md | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/install.md b/install.md index 89e7b8a2..ad7862d5 100644 --- a/install.md +++ b/install.md @@ -29,50 +29,34 @@ 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](https://www.anaconda.com/downloads), -which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science. +### Installing Jupyter Notebook using Conda -First, download [Anaconda](https://www.anaconda.com/downloads). We recommend downloading Anaconda’s latest Python 3 version. +### conda -Second, install the version of Anaconda which you downloaded, following the instructions on the download page. +We recommend installing Python and Jupyter using the conda package manager. The [miniconda](https://docs.conda.io/en/latest/miniconda.html) distribution includes a minimal Python and conda installation. -Congratulations, you have installed Jupyter Notebook! To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows): +Then you can install the notebook it with: -```bash -jupyter notebook +```shell +conda install -c conda-forge notebook ``` -See [Running the Notebook](https://jupyter.readthedocs.io/en/latest/running.html#running) 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 -``` +### pip -If you have Python 2 installed: +If you use `pip`, you can install it with: -```bash -python -m pip install --upgrade pip -python -m pip install jupyter +```shell +pip install notebook ``` -Congratulations, you have installed Jupyter Notebook! To run the notebook, run -the following command at the Terminal (Mac/Linux) or Command Prompt (Windows): +Congratulations, you have installed Jupyter Notebook! To run the notebook, run the following command at the Terminal (Mac/Linux) or Command Prompt (Windows): ```bash jupyter notebook