Opened 9 years ago

Closed 9 years ago

#5313 closed defect (fixed)

Fresh install requires "requests>=2.6.0"

Reported by: Jim Campbell Owned by:
Priority: blocker Milestone: 0.8.0
Component: programming Keywords: requests
Cc: paroneayea Parent Tickets:


When doing a fresh install on Debian Jessie, I encountered this error at the

./ && ./configure && make


Using /srv/
Searching for requests==2.4.3
Best match: requests 2.4.3
Processing requests-2.4.3.tar.gz
Writing /tmp/easy_install-tEaZEN/requests-2.4.3/setup.cfg
Running requests-2.4.3/ -q bdist_egg --dist-dir /tmp/easy_install-tEaZEN/requests-2.4.3/egg-dist-tmp-eGjwmZ
Traceback (most recent call last):
  File "", line 154, in <module>
    "Topic :: Internet :: WWW/HTTP :: Dynamic Content"
  File "/usr/lib/python2.7/distutils/", line 151, in setup
  File "/usr/lib/python2.7/distutils/", line 953, in run_commands
  File "/usr/lib/python2.7/distutils/", line 972, in run_command
  File "/srv/", line 32, in run
  File "/srv/", line 132, in install_for_development
    self.process_distribution(None, self.dist, not self.no_deps)
  File "/srv/", line 733, in process_distribution
  File "/srv/", line 636, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/srv/", line 666, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/srv/", line 856, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/srv/", line 1078, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/srv/", line 1063, in run_setup
    run_setup(setup_script, args)
  File "/srv/", line 68, in run_setup
  File "/srv/", line 114, in run
    return func()
  File "/srv/", line 67, in runner
    _execfile(setup_script, ns)
  File "/srv/", line 43, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-tEaZEN/requests-2.4.3/", line 6, in <module>
    # the Free Software Foundation, either version 3 of the License, or
  File "/tmp/easy_install-tEaZEN/requests-2.4.3/requests/", line 53, in <module>
  File "/tmp/easy_install-tEaZEN/requests-2.4.3/requests/packages/urllib3/contrib/", line 73, in <module>
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

All mentions of requirements for 'requests' should state a minimum version number of 2.6.0 (e.g., in There may be other instances of 'requests' that require an update, as well, so people who are more familiar with the source code should check for them.


 ./bin/easy_install --upgrade requests

and re-issuing the original command installed reqeusts 2.6.0 and allowed the process to continue as needed.

Change History (1)

comment:1 by Jim Campbell, 9 years ago

Resolution: fixed
Status: newclosed

Updated requirement for 'requests' to >=2.6.0. Issue fixed with commit 3252f738368db9345db65f056800597c34a15d62.


Note: See TracTickets for help on using tickets.