How to set up Python on your Computer?

London School of Emerging Technology > Blog > How to set up Python on your Computer?
How to set up Python on your Computer

In 1991, Python was launched as a high-level programming language. Since then, Python has gained popularity, and it is considered one of the most flexible and popular server-side programming languages. It is a great choice to pursue a Python certification course.  

You can install Python on your local machine or Windows server in a few easy steps.

Select Version to Install

The installation procedure includes downloading the official Python .exe installer and running it. As a Python developer, you have to make the decision. 

The version you need depends entirely on what you need to do in Python. If you are studying to code in Python, you must download both Python 2 and 3. Working with Python 2 helps you to test new projects for backward compatibility.

Download Python Executable Installer
  • Open your web browser 
  • Downloads for Windows section of the standard Python website.
  • Search for your desired version of Python. 
  • Download it
Run Executable Installer
  • Run the Python Installer once it is downloaded. 
  • Ensure that you select the Install launcher for all users and add Python to path checkboxes. 
  • Select Install Now 
  • The following dialogue will prompt to select whether to Disable the path length limit.

You can use it to resolve Python name length issues that may arise in Linux projects developed with Python.

Verify Python Installation

Navigate to the directory in which you have installed Python on your system. In our case, it will be C:\Users\Username\AppData\Local\Programs\Python\Python37 as we have installed the latest version.

Double-click python.exe. And verify python installation.

Verify Pip Installation

It is possible that an older version of Python does not include Pip.. It is a great package management system for Python software packages. Thus, make sure that you have Pip installed.

Add Python Path to Environment Variables

It is recommended that you go through this step if the Python version you installed does not include the checkbox or if it has not been selected.

It is not necessary to use full paths when setting up the Python path to system variables. It directs Windows to look through all the PATH folders and find the install folder that contains the python.exe file.

  • Open the Start menu and 
  • Start the Run app in a run dialog box.
  • Type sysdm.cpl and click OK. This opens the System Properties window.
  • Search through the Advanced tab and select Environment Variables.
  •  Under System Variables, select the Path variable.
  • Click Edit.
  • Select the Variable value field and add the path to the python.exe file.
  •  Click OK and close all windows.

Python scripts can now be executed by setting this up: Python

Instead of: C:/Python34/Python

Install virtualenv (This step is optional)

You have Python and Pip to manage packages. Now, you need just one last software package – virtualenv. It helps you to create isolated local virtual environments for your Python projects.

Why use virtualenv?

By default, Python software packages are installed system-wide. Whenever a single project-specific package is modified, it changes for all your Python projects. If you want to avoid this, then having separate virtual environments for each of the projects is the simplest solution.

How to install virtualenv:
  1. Open the Start menu and type cmd.
  2. Select the Command Prompt application.
  3. Type the pip command mentioned below in the console:
  4. C:\Users\Username> pip install virtualenv

On completion, virtualenv is installed on your system.


Python is a general-purpose and powerful programming language. As a Python developer, you will find it to be a great language because it is concise and easy to read. The demand for python programmers is increasing rapidly. The London School of Emerging Technology is a great learning platform that offers the best python certification courses. Join LSET and learn with the help of expert guidance and excel in your career.

Happy Coding!

Leave a Reply

two × one =