How to Install Jupyter Notebook in Microsoft Windows

Posted on

This article will give the step and information about how to install Jupyter Notebook. Just make sure that ‘pip’ tool and off course ‘python’ is available in the operating system. There are several steps available for installing Jupyter Notebook. The following is the sequence execution of those steps :

1. Run the Command Line Interface or Command Prompt :

2. After the Command Prompt appears, just execute the command :

pip install ipython notebook

The following is the command execution in the real situation :

C:\Users\Myself>pip install ipython notebook
Collecting ipython
  Downloading ipython-7.15.0-py3-none-any.whl (783 kB)
     |████████████████████████████████| 783 kB 51 kB/s
Collecting notebook
  Downloading notebook-6.0.3-py3-none-any.whl (9.7 MB)
     |████████████████████████████████| 9.7 MB 595 kB/s
Collecting jedi>=0.10
  Downloading jedi-0.17.0-py2.py3-none-any.whl (1.1 MB)
     |████████████████████████████████| 1.1 MB 64 kB/s
Collecting pygments
  Downloading Pygments-2.6.1-py3-none-any.whl (914 kB)
     |████████████████████████████████| 914 kB 78 kB/s
Collecting backcall
  Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting colorama; sys_platform == "win32"
  Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: setuptools>=18.5 in c:\python38\lib\site-packages (from ipython) (41.2.0)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Downloading prompt_toolkit-3.0.5-py3-none-any.whl (351 kB)
     |████████████████████████████████| 351 kB 1.3 MB/s
Collecting pickleshare
  Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting decorator
  Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting traitlets>=4.2
  Downloading traitlets-4.3.3-py2.py3-none-any.whl (75 kB)
     |████████████████████████████████| 75 kB 56 kB/s
Collecting jupyter-client>=5.3.4
  Downloading jupyter_client-6.1.3-py3-none-any.whl (106 kB)
     |████████████████████████████████| 106 kB 1.6 MB/s
Collecting nbconvert
  Downloading nbconvert-5.6.1-py2.py3-none-any.whl (455 kB)
     |████████████████████████████████| 455 kB 1.7 MB/s
Collecting jinja2
  Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
     |████████████████████████████████| 125 kB 939 kB/s
Collecting Send2Trash
  Downloading Send2Trash-1.5.0-py3-none-any.whl (12 kB)
Collecting ipython-genutils
  Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting jupyter-core>=4.6.1
  Downloading jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB)
     |████████████████████████████████| 83 kB 69 kB/s
Collecting pyzmq>=17
  Downloading pyzmq-19.0.1-cp38-cp38-win_amd64.whl (1.1 MB)
     |████████████████████████████████| 1.1 MB 312 kB/s
Collecting terminado>=0.8.1
  Downloading terminado-0.8.3-py2.py3-none-any.whl (33 kB)
Collecting nbformat
  Downloading nbformat-5.0.7-py3-none-any.whl (170 kB)
     |████████████████████████████████| 170 kB 251 kB/s
Collecting ipykernel
  Downloading ipykernel-5.3.0-py3-none-any.whl (119 kB)
     |████████████████████████████████| 119 kB 437 kB/s
Collecting prometheus-client
  Downloading prometheus_client-0.8.0-py2.py3-none-any.whl (53 kB)
     |████████████████████████████████| 53 kB 56 kB/s
Collecting tornado>=5.0
  Downloading tornado-6.0.4-cp38-cp38-win_amd64.whl (417 kB)
     |████████████████████████████████| 417 kB 1.1 MB/s
Collecting parso>=0.7.0
  Downloading parso-0.7.0-py2.py3-none-any.whl (100 kB)
     |████████████████████████████████| 100 kB 153 kB/s
Collecting wcwidth
  Downloading wcwidth-0.2.4-py2.py3-none-any.whl (30 kB)
Requirement already satisfied: six in c:\python38\lib\site-packages (from traitlets>=4.2->ipython) (1.14.0)
Collecting python-dateutil>=2.1
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 656 kB/s
Collecting bleach
  Downloading bleach-3.1.5-py2.py3-none-any.whl (151 kB)
     |████████████████████████████████| 151 kB 595 kB/s
Collecting entrypoints>=0.2.2
  Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting mistune<2,>=0.8.1
  Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting pandocfilters>=1.4.1
  Downloading pandocfilters-1.4.2.tar.gz (14 kB)
Collecting testpath
  Downloading testpath-0.4.4-py2.py3-none-any.whl (163 kB)
     |████████████████████████████████| 163 kB 819 kB/s
Collecting defusedxml
  Downloading defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Collecting MarkupSafe>=0.23
  Downloading MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl (16 kB)
Collecting pywin32>=1.0; sys_platform == "win32"
  Downloading pywin32-228-cp38-cp38-win_amd64.whl (9.1 MB)
     |████████████████████████████████| 9.1 MB 192 kB/s
Collecting pywinpty>=0.5; os_name == "nt"
  Downloading pywinpty-0.5.7-cp38-cp38-win_amd64.whl (1.3 MB)
     |████████████████████████████████| 1.3 MB 28 kB/s
Collecting jsonschema!=2.5.0,>=2.4
  Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
     |████████████████████████████████| 56 kB 178 kB/s
Collecting webencodings
  Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting packaging
  Downloading packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting pyrsistent>=0.14.0
  Downloading pyrsistent-0.16.0.tar.gz (108 kB)
     |████████████████████████████████| 108 kB 939 kB/s
Collecting attrs>=17.4.0
  Downloading attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Collecting pyparsing>=2.0.2
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 415 kB/s
Installing collected packages: parso, jedi, pygments, backcall, colorama, wcwidth, prompt-toolkit, pickleshare, decorator, ipython-genutils, traitlets, ipython, pywin32, jupyter-core, python-dateutil, pyzmq, tornado, jupyter-client, webencodings, pyparsing, packaging, bleach, entrypoints, mistune, MarkupSafe, jinja2, pandocfilters, testpath, defusedxml, pyrsistent, attrs, jsonschema, nbformat, nbconvert, Send2Trash, pywinpty, terminado, ipykernel, prometheus-client, notebook
    Running setup.py install for pandocfilters ... done
    Running setup.py install for pyrsistent ... done
Successfully installed MarkupSafe-1.1.1 Send2Trash-1.5.0 attrs-19.3.0 backcall-0.2.0 bleach-3.1.5 colorama-0.4.3 decorator-4.4.2 defusedxml-0.6.0 entrypoints-0.3 ipykernel-5.3.0 ipython-7.15.0 ipython-genutils-0.2.0 jedi-0.17.0 jinja2-2.11.2 jsonschema-3.2.0 jupyter-client-6.1.3 jupyter-core-4.6.3 mistune-0.8.4 nbconvert-5.6.1 nbformat-5.0.7 notebook-6.0.3 packaging-20.4 pandocfilters-1.4.2 parso-0.7.0 pickleshare-0.7.5 prometheus-client-0.8.0 prompt-toolkit-3.0.5 pygments-2.6.1 pyparsing-2.4.7 pyrsistent-0.16.0 python-dateutil-2.8.1 pywin32-228 pywinpty-0.5.7 pyzmq-19.0.1 terminado-0.8.3 testpath-0.4.4 tornado-6.0.4 traitlets-4.3.3 wcwidth-0.2.4 webencodings-0.5.1
WARNING: You are using pip version 20.0.2; however, version 20.1.1 is available.
You should consider upgrading via the 'c:\python38\python.exe -m pip install --upgrade pip' command.

C:\Users\Myself>

3. Continue on the above step, if the output of the above installation process of Jupyter Notebook appear, just execute the following command :

jupyter notebook

The execution of the above command in the real situation exist as follows :

C:\Users\Myself>jupyter notebook
[I 18:42:39.015 NotebookApp] Writing notebook server cookie secret to C:\Users\Myself\AppData\Roaming\jupyter\runtime\notebook_cookie_secret
[I 18:42:39.769 NotebookApp] Serving notebooks from local directory: C:\Users\Myself
[I 18:42:39.769 NotebookApp] The Jupyter Notebook is running at:
[I 18:42:39.769 NotebookApp] http://localhost:8888/?token=1e9d7be76d94a885cd9be2afa56cb30a5dc37c1c696ad975
[I 18:42:39.769 NotebookApp] or http://127.0.0.1:8888/?token=1e9d7be76d94a885cd9be2afa56cb30a5dc37c1c696ad975
[I 18:42:39.769 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 18:42:39.834 NotebookApp]

To access the notebook, open this file in a browser:
file:///C:/Users/Myself/AppData/Roaming/jupyter/runtime/nbserver-21104-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=1e9d7be76d94a885cd9be2afa56cb30a5dc37c1c696ad975
or http://127.0.0.1:8888/?token=1e9d7be76d94a885cd9be2afa56cb30a5dc37c1c696ad975

4. Last but not least, just access the above URL to access the notebook. Just copy and paste the URL to the web browser’s address bar. The following image will appear as follows :

How to Install Jupyter Notebook in Microsoft Windows
How to Install Jupyter Notebook in Microsoft Windows

Actually, by default the content of the folder is the Users home folder which is present as a display in the above image.

 

Leave a Reply