daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Dec 16th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo pip install requests
  2.    
  3. Collecting requests
  4. Exception:
  5. Traceback (most recent call last):
  6.   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
  7.     status = self.run(options, args)
  8.   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 317, in run
  9.     requirement_set.prepare_files(finder)
  10.   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
  11.     ignore_dependencies=self.ignore_dependencies))
  12.   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 512, in _prepare_file
  13.     finder, self.upgrade, require_hashes)
  14.   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 273, in populate_link
  15.     self.link = finder.find_requirement(self, upgrade)
  16.   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 442, in find_requirement
  17.     all_candidates = self.find_all_candidates(req.name)
  18.   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 400, in find_all_candidates
  19.     for page in self._get_pages(url_locations, project_name):
  20.   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 545, in _get_pages
  21.     page = self._get_page(location)
  22.   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 648, in _get_page
  23.     return HTMLPage.get_page(link, session=self.session)
  24.   File "/usr/lib/python2.7/dist-packages/pip/index.py", line 757, in get_page
  25.     "Cache-Control": "max-age=600",
  26.   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
  27.     return self.request('GET', url, **kwargs)
  28.   File "/usr/lib/python2.7/dist-packages/pip/download.py", line 378, in request
  29.     return super(PipSession, self).request(method, url, *args, **kwargs)
  30.   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
  31.     resp = self.send(prep, **send_kwargs)
  32.   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 597, in send
  33.     history = [resp for resp in gen] if allow_redirects else []
  34.   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 195, in resolve_redirects
  35.     **adapter_kwargs
  36.   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
  37.     r = adapter.send(request, **kwargs)
  38.   File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
  39.     resp = super(CacheControlAdapter, self).send(request, **kw)
  40.   File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
  41.     timeout=timeout
  42.   File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
  43.     _stacktrace=sys.exc_info()[2])
  44.   File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
  45.     total -= 1
  46. TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top