AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)

Install Python, pip, and the EB CLI on Windows

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

To install Python 3.4 and pip (Windows)

  1. Download and install Python 3.4 from the downloads page of

  2. Add the Python home and scripts directories to the Windows Path system variable:


To modify your PATH variable (Windows)

  1. Press the Windows key and type environment variables.

  2. Choose Edit environment variables for your account.

  3. Choose PATH and then choose Edit.

  4. Add paths to the Variable value field, separated by semicolons. For example: C:\existing\path;C:\new\path

  5. Choose OK twice to apply the new settings.

  6. Close any running command prompts and re-open.

To install the EB CLI with pip (Windows)

  1. Open the Windows Command Processor from the Start menu.

  2. Verify that Python and pip are both installed correctly with the following commands:

    C:\Windows\System32> python --version
    Python 3.4.3
    C:\Windows\System32> pip --version
    pip 6.0.8 from C:\Python34\lib\site-packages (python 3.4)
  3. Install the EB CLI using pip:

    C:\Windows\System32> pip install --upgrade --user awsebcli
    Collecting awsebcli
      Downloading awsebcli-3.2.2.tar.gz (828kB)
    Collecting pyyaml>=3.11 (from awsebcli)
      Downloading PyYAML-3.11.tar.gz (248kB)
    Collecting cement==2.4 (from awsebcli)
      Downloading cement-2.4.0.tar.gz (129kB)
    Collecting python-dateutil<3.0.0,>=2.1 (from awsebcli)
      Downloading python_dateutil-2.4.2-py2.py3-none-any.whl (188kB)
    Collecting jmespath>=0.6.1 (from awsebcli)
      Downloading jmespath-0.6.2.tar.gz
    Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->awsebcli)
      Downloading six-1.9.0-py2.py3-none-any.whl
    Installing collected packages: six, jmespath, python-dateutil, cement, pyyaml, awsebcli
      Running install for jmespath
      Running install for cement
      Running install for pyyaml
        checking if libyaml is compilable
        Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
        skipping build_ext
      Running install for awsebcli
        Installing script to C:\Python34\Scripts
        Installing eb.exe script to C:\Python34\Scripts
        Installing eb.exe.manifest script to C:\Python34\Scripts
    Successfully installed awsebcli-3.2.2 cement-2.4.0 jmespath-0.6.2 python-dateutil-2.4.2 pyyaml-3.11 six-1.9.0
  4. Verify that the EB CLI is installed correctly:

    C:\Windows\System32> eb --version
    EB CLI 3.2.2 (Python 3.4.3)

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

C:\Windows\System32> pip install --user --upgrade awsebcli