SaralGyaan, Saral Gyaan, Saral Gyan is website which provides free tutorials of Python for absolute beginners in English and Hindi, Learn Python in Hindi, Learn Python for absolute beginners, Learn Python, bootstrap, django, git

Hari S
Author: Hari S


How to install Python3 on Windows PC?

How to install Python3 on Windows PC in Hindi?

  • Jan. 23, 2019, 2:28 p.m.
  • 3 minutes read
  • 65 Views
How to install Python3  on Windows PC?

In this Post we will be learning how to install python on our Windows PC. First of all we need to be sure whether we are using 32-bit system or 64-bit. To find it out, right click on ‘This PC’ icon on your desktop and click ‘properties’, there you will find the ‘System type’.

how_to_install_python_3_on_windows_pc.PNG

Alternatively, you can do a Cortana search or ‘windows + F’ search for “System Information” to find out the same.

Once you are sure about your system type head to https://www.python.org/downloads/, it will show you the latest stable version of Python. It generally automatically detects your OS and shows you a download button for the latest version of Python for that OS. At the time of writing this blog, the version was 3.7.2

how_to_install_python_3_on_windows_pc_1.PNG

But in case of Windows, the things get little trickier, by default it will download the 32-bit installer and if you are on a 64-bit system, select windows from the above page and then select ‘Download Windows x86-64 executable installer’ on the next page to download the suitable installer.

how_to_install_python_3_on_windows_pc_2.PNG

Once, the ‘executable installer’ is downloaded, double click to open it and you will get the following screen:-

how_to_install_python_3_on_windows_pc_3.PNG

There are two things you need to follow here to successfully install Python:-

  1. You need to tick/select ‘Add Python 3.7 to PATH’
  2. You need to click on “Customize Installation” to get to next window (Very Important)

Now keep all the option especially ‘pip’ clicked/selected (this will be by default, and you need not change it)

how_to_install_python_3_on_windows_pc_4.PNG

Click next and select/tick the following options:-

  1. Install for all users
  2. Associate files with Python(requires the py launcher)
  3. Add Python to environment variables
  4. Precompile standard library

Set ‘Customize install location’ as ‘C:\Python3X’ (replace X to match the stable version you have downloaded e.g. Python37)

how_to_install_python_3_on_windows_pc_5.PNG

Once the installation is complete, search and open ‘Windows Powershell’ and type

python -V

If the output is :-
Python 3.7.2
or the version which you have installed you are good to go, otherwise uninstall Python and re-install it by following the exact steps mentioned above.

One more thing, we need to confirm is whether ‘pip’ is working or not? For that type the following in Powershell. if there is no error, the installation is fine.

pip freeze

if you get the following type of error, you will have to uninstall python and re-install the same using the exact steps as above.

The term 'pip' is not recognized as the name...



Related Posts

How to install Python 3 on MacOS and Linux?
By Hari S | 7 months, 4 weeks ago

In this post, we will learn the various ways of installing Python 3 on MacOS or Linux.

Installing on MacOS
MacOS X and above comes with the legacy version of Python i.e. Python 2.7 out of the box. This can be checked by adding the following code in terminal:-

...

Read More
Search