Skip to content

Instantly share code, notes, and snippets.

@ogrisel
Created November 12, 2014 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ogrisel/956c455061e5ec6b4c16 to your computer and use it in GitHub Desktop.
Save ogrisel/956c455061e5ec6b4c16 to your computer and use it in GitHub Desktop.
pip timeout
[04:02:35] %CMD_IN_ENV% pip install -r continuous_integration/appveyor/requirements.txt
[04:02:35] Configuring Windows SDK "v7.1" for Python "3" on a 64 bit architecture
[04:02:35] Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v7.1\.
[04:02:51] Targeting Windows 7 x64 Release
[04:02:51]
[04:02:52] Executing: pip install -r continuous_integration/appveyor/requirements.txt
[04:02:52] Downloading/unpacking numpy==1.8.1 (from -r continuous_integration/appveyor/requirements.txt (line 11))
[04:02:57] http://28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com/index.html uses an insecure transport scheme (http). Consider using https if 28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com has it available
[04:02:59] Cleaning up...
[04:03:16] Exception:
[04:03:16] Traceback (most recent call last):
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 319, in _make_request
[04:03:16] httplib_response = conn.getresponse(buffering=True)
[04:03:16] TypeError: getresponse() got an unexpected keyword argument 'buffering'
[04:03:16]
[04:03:16] During handling of the above exception, another exception occurred:
[04:03:16]
[04:03:16] Traceback (most recent call last):
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 321, in _make_request
[04:03:16] httplib_response = conn.getresponse()
[04:03:16] File "C:\Python34-x64\lib\http\client.py", line 1172, in getresponse
[04:03:16] response.begin()
[04:03:16] File "C:\Python34-x64\lib\http\client.py", line 351, in begin
[04:03:16] version, status, reason = self._read_status()
[04:03:16] File "C:\Python34-x64\lib\http\client.py", line 313, in _read_status
[04:03:16] line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
[04:03:16] File "C:\Python34-x64\lib\socket.py", line 371, in readinto
[04:03:16] return self._sock.recv_into(b)
[04:03:16] socket.timeout: timed out
[04:03:16]
[04:03:16] During handling of the above exception, another exception occurred:
[04:03:16]
[04:03:16] Traceback (most recent call last):
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\adapters.py", line 327, in send
[04:03:16] timeout=timeout
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 493, in urlopen
[04:03:16] body=body, headers=headers)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py", line 324, in _make_request
[04:03:16] self, url, "Read timed out. (read timeout=%s)" % read_timeout)
[04:03:16] pip._vendor.requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com', port=80): Read timed out. (read timeout=15)
[04:03:16]
[04:03:16] During handling of the above exception, another exception occurred:
[04:03:16]
[04:03:16] Traceback (most recent call last):
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\basecommand.py", line 122, in main
[04:03:16] status = self.run(options, args)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\commands\install.py", line 278, in run
[04:03:16] requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\req.py", line 1197, in prepare_files
[04:03:16] do_download,
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\req.py", line 1375, in unpack_url
[04:03:16] self.session,
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\download.py", line 546, in unpack_http_url
[04:03:16] resp = session.get(target_url, stream=True)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\sessions.py", line 468, in get
[04:03:16] return self.request('GET', url, **kwargs)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\download.py", line 237, in request
[04:03:16] return super(PipSession, self).request(method, url, *args, **kwargs)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\sessions.py", line 456, in request
[04:03:16] resp = self.send(prep, **send_kwargs)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\sessions.py", line 559, in send
[04:03:16] r = adapter.send(request, **kwargs)
[04:03:16] File "C:\Python34-x64\lib\site-packages\pip\_vendor\requests\adapters.py", line 384, in send
[04:03:16] raise Timeout(e, request=request)
[04:03:16] pip._vendor.requests.exceptions.Timeout: HTTPConnectionPool(host='28daf2247a33ed269873-7b1aad3fab3cc330e1fd9d109892382a.r6.cf2.rackcdn.com', port=80): Read timed out. (read timeout=15)
[04:03:16]
[04:03:16] Storing debug log for failure in C:\Users\appveyor\pip\pip.log
[04:03:16] Command exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment