Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (1 vote)
234 views

Install Python and Jupyter Notebook To Windows

The document outlines 18 steps to install Python, Jupyter Notebook, and various Python libraries on Windows 10. It involves downloading Python, setting environment variables, installing pip, creating a virtual environment, installing NumPy, OpenCV, Matplotlib, Jupyter Notebook, and running Jupyter Notebook to access a dashboard and create a Python notebook.

Uploaded by

yinka omojesu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
234 views

Install Python and Jupyter Notebook To Windows

The document outlines 18 steps to install Python, Jupyter Notebook, and various Python libraries on Windows 10. It involves downloading Python, setting environment variables, installing pip, creating a virtual environment, installing NumPy, OpenCV, Matplotlib, Jupyter Notebook, and running Jupyter Notebook to access a dashboard and create a Python notebook.

Uploaded by

yinka omojesu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

 Check the installation by running “Idle”

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 1/11

11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

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


variable

Location of the “Python37/Scripts” folder

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 2/11
11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

Set environment variable

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

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 3/11

11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

8. Install pip using “pip install virtualenv”

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

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 4/11
11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

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

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

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 5/11

11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

12. Install numpy using “pip install numpy”

13. Install OpenCV using “pip install opencv-python”

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 6/11
11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

14. Install Matplotlib using “pip install matplotlib”

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 7/11

11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

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

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 8/11
11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

16. Run Jupyter Notebook using “jupyter notebook”

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

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 9/11

11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

Notebook Dashboard

18. Create your first notebook using dashboard

In upper right, Select New → Python 3

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 10/11
11/22/21, 2:21 PM Install Python and Jupyter Notebook to Windows 10 (64 bit) | by Kalhari Walawage | Medium

New notebook is opened in new tab of web browser (Test.ipynb)

Python Jupyter Notebook Opencv Python Python Matplotlib Virtualenv

https://medium.com/@kswalawage/install-python-and-jupyter-notebook-to-windows-10-64-bit-66db782e1d02 11/11

You might also like