Python on Windows Server

How to Install Python on Windows Server

How to Install Python on Windows Server

Python is a more "high-level" programming language than most other languages, object-oriented, suitable, among other uses, for developing distributed applications, scripting, numerical computing and system testing.

To install Python on Windows Server operating system, you just need to run the installer and use the simplest configuration.

Steps to Install Python on Windows Server Operating System

  1. Download the installer and then Right-click on the file and select Run as administrator.

  2. You’ll see a User Account Control popup window with a question, “Do you want to allow the following program to make changes to this computer?” Just click on Yes.

  3. Check the Add Python 3.7 to PATH checkbox at the bottom of the window (or whatever the latest version you’re installing).

  4. If you don’t care where the program is installed, you can just click on the Install Now, there’s nothing wrong with the setup and Python will run and this is generally fine for desktop installation.

  5. For server installation, you should be more mindful of the program location better location rather than the default installation under a specific user folder that ran the installer. So it’s better to choose Customize installation.

  6. In the Optional Features screen, make sure you at least check the following: pip, py launcher, and for all users. Click Next.

  7. On the next screen, Advanced Options, make sure you check to Install for all users which then will change the value of Customize install location, just accept the default installation in C:\Program Files unless you have a reason to install it somewhere else. Click Install.

  8. Once you see Setup was successful just click the Close button.

  9. Make sure that C:\Program Files\Python37 and C:\Program Files\Python37\Scripts are in the Path of your System variables.

    If you’re able to click on Edit button, you can see all the path entries in each line which is easier to read and edit. In this case, the button is greyed out due to the group policy.

As a final check, you can open Programs and Features and check if Python and Python Launcher are shown.

Last updated