Python Installation

 How to Install Python on Windows 10

We can install Python in these simple steps:
  1. Download the binaries.
  2. Run the executable installer.
  3. Add python to PATH environmental variables.

Step 1: Download the Python Installer binaries:

  1. Open the official Python website in your web browser.You can choose the version of Python you wish to install. It is recommended to install the latest version of Python.
  2. Click on the link to download Windows x86 executable installer if you are using a 32-bit installer. In case your Windows installation is a 64-bit system, then download Windows x86-64 executable installer.

Step 2: Run the Executable Installer:

  1. Once the installer is downloaded, run the Python installer.

  2. Check the Install launcher for all users check box. Further, you may check the Add Python 3.7 to path check box to include the interpreter in the execution path.

  3. Follow the following steps for further installation.



   4. Click on Add Python 3.10 to PATH.

   5. Click on Customize Installation.



     7. Click on Install. It will ask for your permission. Click on yes.

     8.Python setup is completed, now its time to add Path to environmental variables.

Step 3: Add Python to environmental variables

  1. Go to windows Start Menu.

  2.  Search for “advanced system settings”. 

  3. Select “View advanced system settings”. In the “System Properties” window, click on the “Advanced” tab and then click on the “Environment Variables” button.

  4. Locate the Python installation directory on your system. If you followed the steps exactly as above, python will be installed in below locations:




  

Step 4: Verify the Python Installation

  1. You have now successfully installed Python  on Windows 10. 
  2. You can verify if the Python installation is successful either through the command line or through the IDLE app that gets installed along with the installation. 
  3. Search for the command prompt and type “python”.

Step 5: Compiler

You can use any compiler such as 
  1. Pycharm Click here to Download (Recommeded).
  2. VsCode  Click here to Download.

Comments

Post a Comment

Popular posts from this blog

Loops and Functions Session 8

Variable & Data Types (Session 3)