Skip to content

Instantly share code, notes, and snippets.

@geekle
Last active August 29, 2015 13:57
Show Gist options
  • Save geekle/9381666 to your computer and use it in GitHub Desktop.
Save geekle/9381666 to your computer and use it in GitHub Desktop.
Failing pip install
root@a038d69067b3:/# pip install awscli
Downloading/unpacking awscli
Running setup.py egg_info for package awscli
Downloading/unpacking botocore>=0.34.0,<0.35.0 (from awscli)
Running setup.py egg_info for package botocore
Downloading/unpacking bcdoc>=0.12.0,<0.13.0 (from awscli)
Running setup.py egg_info for package bcdoc
warning: no files found matching 'README.md'
Downloading/unpacking six>=1.1.0 (from awscli)
Running setup.py egg_info for package six
no previously-included directories found matching 'documentation/_build'
Downloading/unpacking colorama==0.2.5 (from awscli)
Cannot fetch index base URL http://pypi.python.org/simple/
Error <urlopen error _ssl.c:489: The handshake operation timed out> while getting https://pypi.python.org/packages/source/c/colorama/colorama-0.2.5.tar.gz#md5=c76f67ead9dc7c83700c57695ebb741e (from https://pypi.python.org/simple/colorama/)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 955, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1072, in unpack_url
return unpack_http_url(link, location, self.download_cache, only_download)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 428, in unpack_http_url
resp = _get_response_from_url(target_url, link)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 457, in _get_response_from_url
resp = urlopen(target_url)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 83, in __call__
response = urllib2.urlopen(self.get_request(url))
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
URLError: <urlopen error _ssl.c:489: The handshake operation timed out>
Storing complete log in /.pip/pip.log
root@a038d69067b3:/# pip install awscli
Downloading/unpacking awscli
Running setup.py egg_info for package awscli
Downloading/unpacking botocore>=0.34.0,<0.35.0 (from awscli)
Running setup.py egg_info for package botocore
Downloading/unpacking bcdoc>=0.12.0,<0.13.0 (from awscli)
Running setup.py egg_info for package bcdoc
warning: no files found matching 'README.md'
Downloading/unpacking six>=1.1.0 (from awscli)
Running setup.py egg_info for package six
no previously-included directories found matching 'documentation/_build'
Downloading/unpacking colorama==0.2.5 (from awscli)
Downloading colorama-0.2.5.tar.gz
Running setup.py egg_info for package colorama
Downloading/unpacking docutils>=0.10 (from awscli)
Downloading docutils-0.11.tar.gz (1.6Mb): 1.6Mb downloaded
Running setup.py egg_info for package docutils
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
Downloading/unpacking rsa==3.1.2 (from awscli)
Cannot fetch index base URL http://pypi.python.org/simple/
Downloading rsa-3.1.2.tar.gz
Running setup.py egg_info for package rsa
warning: no files found matching 'README'
Downloading/unpacking jmespath==0.3.0 (from botocore>=0.34.0,<0.35.0->awscli)
Real name of requirement jmespath is jmespath
Could not find any downloads that satisfy the requirement jmespath==0.3.0 (from botocore>=0.34.0,<0.35.0->awscli)
No distributions at all found for jmespath==0.3.0 (from botocore>=0.34.0,<0.35.0->awscli)
Storing complete log in /.pip/pip.log
root@a038d69067b3:/# pip install awscli
Downloading/unpacking awscli
Running setup.py egg_info for package awscli
Downloading/unpacking botocore>=0.34.0,<0.35.0 (from awscli)
Running setup.py egg_info for package botocore
Downloading/unpacking bcdoc>=0.12.0,<0.13.0 (from awscli)
Running setup.py egg_info for package bcdoc
warning: no files found matching 'README.md'
Downloading/unpacking six>=1.1.0 (from awscli)
Running setup.py egg_info for package six
no previously-included directories found matching 'documentation/_build'
Downloading/unpacking colorama==0.2.5 (from awscli)
Running setup.py egg_info for package colorama
Downloading/unpacking docutils>=0.10 (from awscli)
Running setup.py egg_info for package docutils
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
Downloading/unpacking rsa==3.1.2 (from awscli)
Running setup.py egg_info for package rsa
warning: no files found matching 'README'
Downloading/unpacking jmespath==0.3.0 (from botocore>=0.34.0,<0.35.0->awscli)
Downloading jmespath-0.3.0.tar.gz
Running setup.py egg_info for package jmespath
Downloading/unpacking python-dateutil>=2.1 (from botocore>=0.34.0,<0.35.0->awscli)
Downloading python-dateutil-2.2.tar.gz (259Kb): 259Kb downloaded
Running setup.py egg_info for package python-dateutil
Downloading/unpacking pyasn1>=0.1.3 (from rsa==3.1.2->awscli)
Downloading pyasn1-0.1.7.tar.gz (68Kb): 68Kb downloaded
Running setup.py egg_info for package pyasn1
Downloading/unpacking ply==3.4 (from jmespath==0.3.0->botocore>=0.34.0,<0.35.0->awscli)
Real name of requirement ply is ply
Downloading ply-3.4.tar.gz (138Kb): 138Kb downloaded
Running setup.py egg_info for package ply
Installing collected packages: awscli, botocore, bcdoc, six, colorama, docutils, rsa, jmespath, python-dateutil, pyasn1, ply
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 to 755
changing mode of /usr/local/bin/aws_completer to 755
changing mode of /usr/local/bin/aws_zsh_completer.sh to 755
Running setup.py install for botocore
Running setup.py install for bcdoc
warning: no files found matching 'README.md'
Running setup.py install for six
no previously-included directories found matching 'documentation/_build'
Running setup.py install for colorama
Running setup.py install for docutils
changing mode of build/scripts-2.7/rst2html.py from 644 to 755
changing mode of build/scripts-2.7/rst2s5.py from 644 to 755
changing mode of build/scripts-2.7/rst2latex.py from 644 to 755
changing mode of build/scripts-2.7/rst2xetex.py from 644 to 755
changing mode of build/scripts-2.7/rst2man.py from 644 to 755
changing mode of build/scripts-2.7/rst2xml.py from 644 to 755
changing mode of build/scripts-2.7/rst2pseudoxml.py from 644 to 755
changing mode of build/scripts-2.7/rstpep2html.py from 644 to 755
changing mode of build/scripts-2.7/rst2odt.py from 644 to 755
changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 644 to 755
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
changing mode of /usr/local/bin/rst2man.py to 755
changing mode of /usr/local/bin/rst2odt_prepstyles.py to 755
changing mode of /usr/local/bin/rst2xetex.py to 755
changing mode of /usr/local/bin/rst2pseudoxml.py to 755
changing mode of /usr/local/bin/rst2latex.py to 755
changing mode of /usr/local/bin/rst2html.py to 755
changing mode of /usr/local/bin/rst2xml.py to 755
changing mode of /usr/local/bin/rst2s5.py to 755
changing mode of /usr/local/bin/rstpep2html.py to 755
changing mode of /usr/local/bin/rst2odt.py to 755
Running setup.py install for rsa
warning: no files found matching 'README'
Installing pyrsa-encrypt-bigfile script to /usr/local/bin
Installing pyrsa-encrypt script to /usr/local/bin
Installing pyrsa-verify script to /usr/local/bin
Installing pyrsa-sign script to /usr/local/bin
Installing pyrsa-priv2pub script to /usr/local/bin
Installing pyrsa-decrypt script to /usr/local/bin
Installing pyrsa-keygen script to /usr/local/bin
Installing pyrsa-decrypt-bigfile script to /usr/local/bin
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
Running setup.py install for python-dateutil
Running setup.py install for pyasn1
Running setup.py install for ply
Successfully installed awscli botocore bcdoc six colorama docutils rsa jmespath python-dateutil pyasn1 ply
Cleaning up...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment