[转载]windows操作系统安装JupyterNotebook

How to install Jupyter Notebook in Windows?

Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations, and narrative text. Uses include data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

Jupyter has support for over 40 different programming languages and Python is one of them. Python is a requirement (Python 3.3 or greater, or Python 2.7) for installing the Jupyter Notebook itself.

Jupyter Notebook can be installed by using either of the two ways described below:

  • Using Anaconda:
    Install Python and Jupyter using the Anaconda Distribution, which includes Python, the Jupyter Notebook, and other commonly used packages for scientific computing and data science. To install Anaconda, go through How to install Anaconda on windows? and follow the instructions provided.
  • Using PIP:
    Install Jupyter using the PIP package manager used to install and manage software packages/libraries written in Python. To install pip, go through How to install PIP on Windows? and follow the instructions provided.

Installing Jupyter Notebook using Anaconda:

Anaconda is an open-source software that contains Jupyter, spyder, etc that are used for large data processing, data analytics, heavy scientific computing. Anaconda works for R and python programming language. Spyder(sub-application of Anaconda) is used for python. Opencv for python will work in spyder. Package versions are managed by the package management system called conda.

To install Jupyter using Anaconda, just go through the following instructions:



  • Launch Anaconda Navigator:
    Anaconda-Navigator
  • Click on the Install Jupyter Notebook Button:
    Anaconda-Navigator
  • Beginning the Installation:
    Beginning-Installation
  • Loading Packages:
    Loading-Packages
  • Finished Installation:
    Finished-Installation

Launching Jupyter:
Launching-Jupyter-Notebook

Jupyter-Launch-Window

Installing Jupyter Notebook using pip:

PIP is a package management system used to install and manage software packages/libraries written in Python. These files are stored in a large “on-line repository” termed as Python Package Index (PyPI).
pip uses PyPI as the default source for packages and their dependencies.

To install Jupyter using pip, we need to first check if pip is updated in our system. Use the following command to update pip:

python -m pip install --upgrade pip

Updating-pip-version

After updating the pip version, follow the instructions provided below to install Jupyter:

  • Command to install Jupyter:
    python -m pip install jupyter
    
  • Beginning Installation:
    Beginning-installation
  • Downloading Files and Data:
    Downloading-data-and-files
  • Installing Packages:
    Installing-packages
  • Finished Installation:
    Finished-Installation
  • Launching Jupyter:
    Use the following command to launch Jupyter using command-line:

    jupyter notebook

    Using-Launch-command-Code

    Jupyter-Launch-Window

    My Personal Notes arrow_drop_up
    Save
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值