Install Python and pip on Windows

To install Python and pip:

  1. Download and install the latest version of Python for Windows from the Python downloads page.
  2. Add the Python home and scripts directories to the Windows PATH environment variable.
  3. The Python directory can vary for different versions of Python and different versions of Windows. For example, on the Windows 2016 server, the Python 3.6.1 home directory and the scripts directory are in the following locations:
    C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\;
    C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\Scripts\;