AWS ParallelCluster
AWS ParallelCluster User Guide

Install AWS ParallelCluster on Windows

You can install AWS ParallelCluster on Windows by using pip, which is a package manager for Python. If you already have pip, follow the instructions in the main installation topic.

Install AWS ParallelCluster Using Python and pip on Windows

The Python Software Foundation provides installers for Windows that include pip.

To install Python and pip (Windows)

  1. Download the Python Windows x86-64 installer from the downloads page of Python.org.

  2. Run the installer.

  3. Choose Add Python 3 to PATH.

  4. Choose Install Now.

The installer installs Python in your user folder and adds its program folders to your user path.

To install AWS ParallelCluster with pip3 (Windows)

If you use Python version 3+, we recommend that you use the pip3 command.

  1. Open the Command Prompt from the Start menu.

  2. Use the following commands to verify that Python and pip are both installed correctly.

    C:\>python --version Python 3.6.8 C:\>pip3 --version pip 19.3.1 from C:\Users\username\AppData\Roaming\Python\Python36\site-packages\pip (python 3.6)
  3. Install AWS ParallelCluster using pip.

    C:\>pip3 install aws-parallelcluster
  4. Verify that AWS ParallelCluster is installed correctly.

    C:\>pcluster version 2.5.0

To upgrade to the latest version, run the installation command again.

C:\>pip3 install --user --upgrade aws-parallelcluster

Add the AWS ParallelCluster Executable to Your Command Line Path

After installing AWS ParallelCluster with pip, add the pcluster program to your operating system's PATH environment variable.

You can find where the aws program is installed by running the following command.

C:\>where pcluster C:\Users\username\AppData\Roaming\Python\Python36\Scripts\pcluster.exe

If that command does not return any results, then you must add the path manually. Use the command line or Windows Explorer to discover where it is installed on your computer. Typical paths include:

  • Python 3 and pip3C:\Program Files\Python36\Scripts\

  • Python 3 and pip3 --user option%APPDATA%\Python\Python36\Scripts

Note

Folder names that include version numbers can vary. The preceding examples show Python36. Replace as needed with the version number that you are using.

To modify your PATH variable (Windows)

  1. Press the Windows key and enter environment variables.

  2. Choose Edit environment variables for your account.

  3. Choose PATH, and then choose Edit.

  4. Add the path to the Variable value field. For example: C:\new\path

  5. Choose OK twice to apply the new settings.

  6. Close any running command prompts and reopen the command prompt window.