How to setup Jupyter Notebook (Windows)

Sangeeth Raj
Nerd For Tech
Published in
3 min readJun 22, 2021

Step 1: Installing Python in Windows
The leading Python site is on https://www.python.org/, and the most up-to-date source distribution version for windows is python 3.9.5. It is recommended use a lower version than the latest version.

python official webpage

Step 2: Confirm that Python is installed
The simplest way to test for a Python installation on your Windows server is to open a command prompt. Once a command prompt window opens, type python and press Enter. If Python is installed correctly, you should see output similar to what is shown below.

check python version

        
Step 3: Installing Pip in Windows
Once you have confirmed that Python is installed correctly, we can proceed with installing Pip.
1. Download get-pip.py to a folder on your computer.
2. Open a command prompt and navigate to the folder containing the get-pip.py installer.
3. Run the following command:
python get-pip.py

Step 4: Verify Installation and Check the Pip Version
We can now verify that Pip was installed correctly by opening a command prompt and entering the following command.
pip -V

Step 5: Installing OpenCv library using pip command After the installation of the Python and pip, we can directly install the OpenCV library and start using them. To install the library, we need to enter the given command in the terminal.
pip install opencv-python

Step 6: Installing matplotlib library using pip command
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. To install the matplotlib, we need to enter the given command in the terminal.
pip install matplotlib

Step 7: Installing Jupyter notebook using pip command
To install Jupyter notebook using Python’s package manager, pip, we need to enter the given command in the terminal.
python -m pip install jupyter

Step 8: Run Jupyter notebook on Windows
To run the notebook, run the following command in the terminal.
python -m notebook

run http://127.0.0.1:8888 or copy paste the URL given in the end of the command in a web browser.

--

--

Sangeeth Raj
Nerd For Tech

Software Engineer | Toastmaster | Project Management Enthusiast