I tried to install with sudo pip install magpie but the install failed with an SSLError. Here are the last 40 lines of ~/.pip/pip.log containing the Exception Traceback:
$ cat .pip/pip.log | tail -n 40
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-3.2.1.tar.gz#md5=d11986d4639aa9f71a31da1ebf40dc19 (from https://pypi.python.org/simple/tornado/), version 3.2.1 doesn't match ==3.2
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-3.2.2.tar.gz#md5=bf37082723ace27f508400d65cf111fe (from https://pypi.python.org/simple/tornado/), version 3.2.2 doesn't match ==3.2
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-4.0.1.tar.gz#md5=2b28e37b95aa653369a31a440242a24a (from https://pypi.python.org/simple/tornado/), version 4.0.1 doesn't match ==3.2
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-4.0.2.tar.gz#md5=985c0e704b765c33a6193d49d1935588 (from https://pypi.python.org/simple/tornado/), version 4.0.2 doesn't match ==3.2
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-4.0.tar.gz#md5=8f4ccc60340b9cd3ae7af6ea7a1e4d0f (from https://pypi.python.org/simple/tornado/), version 4.0 doesn't match ==3.2
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-4.1.tar.gz#md5=a06ea343375f2247344257ef691641f9 (from https://pypi.python.org/simple/tornado/), version 4.1 doesn't match ==3.2
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-4.1b2.tar.gz#md5=c2aea149f627f36be4df6e2fc37d3399 (from https://pypi.python.org/simple/tornado/), version 4.1b2 doesn't match ==3.2
Ignoring link https://pypi.python.org/packages/source/t/tornado/tornado-4.2b1.tar.gz#md5=6729264a76b2de11cb8bee629e57c67e (from https://pypi.python.org/simple/tornado/), version 4.2b1 doesn't match ==3.2
Downloading from URL https://pypi.python.org/packages/source/t/tornado/tornado-3.2.tar.gz#md5=bd83cee5f1a5c5e139e87996d00b251b (from https://pypi.python.org/simple/tornado/)
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, 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 1197, in prepare_files
do_download,
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1375, in unpack_url
self.session,
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in unpack_http_url
download_hash = _download_url(resp, link, temp_location)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 433, in _download_url
for chunk in resp_read(4096):
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 421, in resp_read
chunk_size, decode_content=False):
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 225, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 174, in read
data = self._fp.read(amt)
File "/usr/lib/python2.7/httplib.py", line 567, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/ssl.py", line 341, in recv
return self.read(buflen)
File "/usr/lib/python2.7/ssl.py", line 260, in read
return self._sslobj.read(len)
SSLError: The read operation timed out
I tried to install with
sudo pip install magpie
but the install failed with anSSLError
. Here are the last 40 lines of~/.pip/pip.log
containing the Exception Traceback:I am using Ubuntu 14.04 and I have Python 2.7.6.