

I chose this option & recommend you all to do the same for compatibility with sources from a Linux environment where the path length isn’t an issue. This change will allow Python to use long path names. Here you will have the option to disable the path length limit of 260 characters for MAX_PATH. Step 3 – On successful completion of Python installation, this screen will be displayed. You’ve been successfully subscribed to our newsletter! Step 2 – After selecting Install now progress will be displayed as shown below By adding the PATH of python to the environment variable I will be able to access the Python environment from any folder without the need to specify the fully qualified path to Python runtime.įinally, click on ‘Install Now’ for installation to begin the installation

I selected the default options for installation except I chose to ‘Add Python 3.9 to PATH’ which will add details to environment variables in Windows. Step 1 – This is the initial screen after launching the setup program where you can configure options like custom location & feature. From this link here, we will download the latest version (3.9.6) of python for windows.Īfter the download completes we will execute the downloaded python installer to install Python and as per the installation wizard available will perform the installation steps as shown below. To download Python we will navigate to the downloads section on Python official website. We will have to install Python for the Python runtime environment.

What we will need is a Python runtime environment on the windows machine to be able to compile & run Python source code.

I am running Windows 10 on my machine for all the demonstrations. Here is the complete process to download the latest versions of Python & visual studio code to install python & visual studio code and install extensions for python development in visual studio code on Windows Machine. Steps to Setup Environment for Python Programming with Visual Studio Code IDE Configure Visual Studio Code as IDE for Python.Steps to Setup Environment for Python Programming with Visual Studio Code IDE.
