Install Python and Jupyter Notebook to Windows 10 (64 bit)

Image for post

This blog post is a step-by-step tutorial to install Python and Jupyter Notebook to Windows 10 (64 bit). Python 3.3 or greater, or Python 2.7 is required to install the Jupyter Notebook.

  1. Download Python 3.7.4 from “https://www.python.org/downloads/release/python-374/” url
Image for post

2. Choose and select “x86–64 executable installer” for Windows 10–64 bit computer

Image for post

3. Select location to save the executable file.

Image for post

4. Install Python 3.7.4 (64-bit) to your computer.

Image for post
Image for post
Customize Installation → “Optional Features” window
Image for post
Advanced Options” window
Image for post
Setup Progress” window
Image for post
Setup Successful” window

5. Check the installation by running “Idle”

Image for post

6. Set “Python37” path and “Python37/Scripts” path to environment variable

Image for post
Location of the “Python37/Scripts” folder
Image for post
Set environment variable

7. Open command prompt and check the python version using “python –version

Image for post

8. Install pip using “pip install virtualenv

Image for post

9. Upgrade pip using “python -m pip install -upgrade pip

Image for post

10. Create a virtual environment called opencv (“virtualenv opencv”)

Image for post

11. Move to Scripts folder and activate opencv virtual environment using “activate.bat

Image for post

12. Install numpy using “pip install numpy

Image for post

13. Install OpenCV using “pip install opencv-python

Image for post

14. Install Matplotlib using “pip install matplotlib

Image for post

15. Install Jupyter using “python -m pip install jupyter

Image for post

16. Run Jupyter Notebook using “jupyter notebook

Image for post

17. Start the notebook server and popup dashboard in browser using “localhost:8888/tree” url

Image for post
Notebook Dashboard

18. Create your first notebook using dashboard

Image for post
In upper right, Select New → Python 3
Image for post
New notebook is opened in new tab of web browser (Test.ipynb)