How to install python

Download Python

Download


Run Executable Installer
Select Install Now

Verify Python Was Installed On Windows

Navigate to the directory in which Python was installed on the system. In our case, it is C:\Users\Username\AppData\Local\Programs\Python\Python37 since we have installed the latest version. Double-click python.exe.

Verify Pip Was Installed

File Name :

  • Open the Start menu and type “cmd.”
  • Select the Command Prompt application.
  • Enter pip -V in the console. If Pip was installed successfully, you should see the following output:

  • Add Python Path to Environment Variables (Optional)

    File Name :

  • 1. Open the Start menu and start the Run app. run dialog box
  • 2. Type sysdm.cpl and click OK. This opens the System Properties window.
  • 3. Navigate to the Advanced tab and select Environment Variables.
  • 4. Under System Variables, find and select the Path variable.
  • 5. Select the Variable value field. Add the path to the python.exe file preceded with a semicolon (;). For example, in the image below, we have added “;C:\Python34.”
  • 6. Click OK and close all windows. By setting this up, you can execute Python scripts like this: Python script.py
    Instead of this: C:/Python34/Python script.py

  • Install virtualnv (Optional)

    To install virtualnv

  • 1. Open the Start menu and type “cmd.”
  • 2. Select the Command Prompt application.
  • 3. Type the following pip command in the console.

  • C:\Users\Username> pip install virtualenv

    Python IDE

  • 10 Best Python IDE & Python Code Editors
  • PyDev.
  • PyCharm.
  • Sublime Text.
  • Visual Studio Code.
  • Vim.
  • GNU/Emacs.
  • Atom/Atom-IDE.
  • IDLE.
  • Spyder
  • Wing
  • Jupyter Notebook
  • Thonny
  • Rodeo

  • Learn Visual Studio Code IDE


    How to check python version

    py --version
    ################## OR ##############

    python --version

    How to check pip version

    pip --version
    pip 20.2.3 from c:\program files\python39\lib\site-packages\pip (python 3.9)





    Previous Next


    Trending Tutorials




    Review & Rating

    0.0 / 5

    0 Review

    5
    (0)

    4
    (0)

    3
    (0)

    2
    (0)

    1
    (0)

    Write Review Here