Latest MSI install is broken on Windows 7 and 8.1 64-bit
I installed the latest version of aws cli for Windows from the MSI available at https://s3.amazonaws.com/aws-cli/AWSCLI64.msi.
Tested this on separate Windows 7 and Windows 8.1 OS 64-bit.
I'm getting the following on every command, even aws help and aws -version.
Traceback (most recent call last):
File "aws", line 23, in <module>
File "aws", line 19, in main
File "awscli\clidriver.pyc", line 49, in main
File "awscli\clidriver.pyc", line 58, in create_clidriver
File "awscli\plugin.pyc", line 44, in load_plugins
File "awscli\plugin.pyc", line 61, in _import_plugins
File "awscli\handlers.pyc", line 61, in <module>
File "awscli\customizations\opsworks.pyc", line 24, in <module>
File "six.pyc", line 89, in __get__
File "six.pyc", line 153, in _resolve
File "six.pyc", line 79, in _import_module
☺♥☺♫☺
ImportError: No module named pipes
I get this on Windows Server 2012 R2 64-bit as well with the latest MSI.
FWIW I think I got that error on Ubuntu 14.04 LTS last night with a pip install awscli. However I worked around it by downloading the bundle and installing.
Taking a look, we'll get this fixed ASAP.
Thank you for the help!
We got a pull request merged just now that fixes it: https://github.com/aws/aws-cli/pull/1054
We are going to try to get a release out soon to patch this issue. Closing for now. Once we get out the new version, please upgrade and reopen the issue if still does not work.
This was the error I was getting last night.
jpoole@luke:~$ sudo pip install awscli Downloading/unpacking awscli Downloading awscli-1.6.7.tar.gz (280kB): 280kB downloaded Running setup.py (path:/tmp/pip_build_root/awscli/setup.py) egg_info for package awscli
Downloading/unpacking botocore>=0.78.0,<0.79.0 (from awscli) Downloading botocore-0.78.0.tar.gz (1.2MB): 1.2MB downloaded Running setup.py (path:/tmp/pip_build_root/botocore/setup.py) egg_info for package botocore
Requirement already satisfied (use --upgrade to upgrade): bcdoc>=0.12.0,<0.13.0 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): six>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): colorama==0.2.5 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): docutils>=0.10 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): rsa==3.1.2 in /usr/local/lib/python2.7/dist-packages (from awscli) Downloading/unpacking jmespath==0.5.0 (from botocore>=0.78.0,<0.79.0->awscli) Downloading jmespath-0.5.0.tar.gz Running setup.py (path:/tmp/pip_build_root/jmespath/setup.py) egg_info for package jmespath
Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=2.1,<3.0.0 in /usr/local/lib/python2.7/dist-packages (from botocore>=0.78.0,<0.79.0->awscli) Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.3 in /usr/local/lib/python2.7/dist-packages (from rsa==3.1.2->awscli) Installing collected packages: awscli, botocore, jmespath Running setup.py install for awscli changing mode of build/scripts-2.7/aws from 644 to 755 changing mode of build/scripts-2.7/aws.cmd from 644 to 755 changing mode of build/scripts-2.7/aws_completer from 644 to 755 changing mode of build/scripts-2.7/aws_zsh_completer.sh from 644 to 755
changing mode of /usr/local/bin/aws.cmd to 755
changing mode of /usr/local/bin/aws_completer to 755
changing mode of /usr/local/bin/aws to 755
changing mode of /usr/local/bin/aws_zsh_completer.sh to 755
Found existing installation: botocore 0.34.0 Uninstalling botocore: Successfully uninstalled botocore Running setup.py install for botocore
Found existing installation: jmespath 0.3.0 Uninstalling jmespath: Successfully uninstalled jmespath Running setup.py install for jmespath changing mode of build/scripts-2.7/jp from 644 to 755
changing mode of /usr/local/bin/jp to 755
Successfully installed awscli botocore jmespath
Cleaning up...
jpoole@luke:~$ aws ec2 describe-regions
Traceback (most recent call last):
File "/usr/local/bin/aws", line 23, in
Downloading/unpacking botocore>=0.78.0,<0.79.0 (from awscli) Downloading botocore-0.78.0.tar.gz (1.2MB): 1.2MB downloaded Running setup.py (path:/tmp/pip_build_root/botocore/setup.py) egg_info for package botocore
Requirement already satisfied (use --upgrade to upgrade): bcdoc>=0.12.0,<0.13.0 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): six>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): colorama==0.2.5 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): docutils>=0.10 in /usr/local/lib/python2.7/dist-packages (from awscli) Requirement already satisfied (use --upgrade to upgrade): rsa==3.1.2 in /usr/local/lib/python2.7/dist-packages (from awscli) Downloading/unpacking jmespath==0.5.0 (from botocore>=0.78.0,<0.79.0->awscli) Downloading jmespath-0.5.0.tar.gz Running setup.py (path:/tmp/pip_build_root/jmespath/setup.py) egg_info for package jmespath
Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=2.1,<3.0.0 in /usr/local/lib/python2.7/dist-packages (from botocore>=0.78.0,<0.79.0->awscli) Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.3 in /usr/local/lib/python2.7/dist-packages (from rsa==3.1.2->awscli) Installing collected packages: awscli, botocore, jmespath Running setup.py install for awscli changing mode of build/scripts-2.7/aws from 644 to 755 changing mode of build/scripts-2.7/aws.cmd from 644 to 755 changing mode of build/scripts-2.7/aws_completer from 644 to 755 changing mode of build/scripts-2.7/aws_zsh_completer.sh from 644 to 755
changing mode of /usr/local/bin/aws.cmd to 755
changing mode of /usr/local/bin/aws_completer to 755
changing mode of /usr/local/bin/aws to 755
changing mode of /usr/local/bin/aws_zsh_completer.sh to 755
Found existing installation: botocore 0.34.0 Uninstalling botocore: Successfully uninstalled botocore Running setup.py install for botocore
Found existing installation: jmespath 0.3.0 Uninstalling jmespath: Successfully uninstalled jmespath Running setup.py install for jmespath changing mode of build/scripts-2.7/jp from 644 to 755
changing mode of /usr/local/bin/jp to 755
Successfully installed awscli botocore jmespath
Cleaning up...
jpoole@luke:~$ aws ec2 describe-regions
Traceback (most recent call last):
File "/usr/local/bin/aws", line 23, in
I installed the latest version of aws cli for Windows from the MSI available at https://s3.amazonaws.com/aws-cli/AWSCLI64.msi.
I am getting below error :
Traceback (most recent call last):
File "aws", line 27, in