This document provides a step-by-step guide for installing Python and Jupyter Notebook on a Windows operating system. It explains how to check for pre-installed Python, download and install it if necessary, and subsequently install Jupyter Notebook using pip. The document concludes with instructions on how to run Jupyter Notebook successfully.
The slides cover the step-by-step installation process for Python and Jupyter Notebook on Windows OS, including commands for checking installations and setting up.
For Windows OS:
To check whether your OS already has python in your system or not
Go to cmd terminal as shown and type: python
If it is not preinstalled If it is already preinstalled
Python Installation
3.
If itis not preinstalled go to: python.org > scroll down > click on “Latest:
Python 3. x”
Select the downloader as per your OS
Here in my case I have the Windows 64 bit OS, so I clickd on the
highlighted.
Python Installation
4.
Once the.exe file is downloaded > open the file > Run
1st
2nd
Python Installation
5.
The setupwill proceed after asking permission from admin, when setup is
done close the setup window and go back to your cmd and check whether it
is showing the installed python or not.
Python Installation
6.
As wecan see from the below screenshot the updated python version is
installed.
Now we’ll move on to Jupyter notebook installation.
Python Installation
7.
We’ll installjupyter notebook by pip in python interpreter
Go to jupyter.org > click on “Install”
You’ll see the cmd to be used to install jupyter notebook using pip in python
Jupyter notebook Installation
8.
Go backto cmd > “python –m pip install jupyter“
Now it will collect all the libraries, packages that
are part of this and install jupyter on your
machine.
Once it is installed you’ll see a message installed
successfully.
If your pip is not upgraded you can use the
following command
”python -m pip install --upgrade pip”
And to check whether your jupyter notebook is
installed or not, again type the cmd:
“python –m pip install jupyter”
Jupyter notebook Installation
9.
Now torun the jupyter notebook
Go to cmd prompt and type
“jupyter notebook”
And the jupyter notebook will open in a selected browser, preferably
Chrome.
And if you want to open a jupyter notebook to a specific path then you
can copy paste the path and write ‘jupyter notebook’ after that
E.g.
Jupyter notebook Installation