osx - Install the AWS CLI Using the Bundled Installer (Linux, OS X, or Unix) -


when following install aws cli using bundled installer (linux, os x, or unix) directions i'm getting error caused looks incorrect file path file:///users/jspooner/downloads/awscli-bundle/packages awscli-1.7.24.tar.gz. believe should packages/awscli. there python script broken or missing something?

➜  downloads  python --version python 2.7.7 ➜  downloads  sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws password: running cmd: /usr/local/opt/python/bin/python2.7 virtualenv.py --python /usr/local/opt/python/bin/python2.7 /usr/local/aws running cmd: /usr/local/aws/bin/pip install --no-index --find-links file:///users/jspooner/downloads/awscli-bundle/packages awscli-1.7.24.tar.gz traceback (most recent call last):   file "./awscli-bundle/install", line 138, in <module>     main()   file "./awscli-bundle/install", line 129, in main     pip_install_packages(opts.install_dir)   file "./awscli-bundle/install", line 98, in pip_install_packages     pip_script, packages_dir, cli_tarball))   file "./awscli-bundle/install", line 44, in run     p.returncode, cmd, stdout + stderr)) __main__.badrcerror: bad rc (1) cmd '/usr/local/aws/bin/pip install --no-index --find-links file:///users/jspooner/downloads/awscli-bundle/packages awscli-1.7.24.tar.gz': traceback (most recent call last):   file "/usr/local/aws/bin/pip", line 9, in <module>     load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()   file "/usr/local/aws/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point     return get_distribution(dist).load_entry_point(group, name)   file "/usr/local/aws/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point     return ep.load()   file "/usr/local/aws/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load     entry = __import__(self.module_name, globals(),globals(), ['__name__'])   file "/usr/local/aws/lib/python2.7/site-packages/pip/__init__.py", line 10, in <module>     pip.util import get_installed_distributions, get_prog   file "/usr/local/aws/lib/python2.7/site-packages/pip/util.py", line 17, in <module>     pip.vendor.distlib import version   file "/usr/local/aws/lib/python2.7/site-packages/pip/vendor/distlib/version.py", line 13, in <module>     .compat import string_types   file "/usr/local/aws/lib/python2.7/site-packages/pip/vendor/distlib/compat.py", line 31, in <module>     urllib2 import (request, urlopen, urlerror, httperror, importerror: cannot import name httpshandler 

i highly recommend installing awscli homebrew package manager if on os x.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -