On 27-Jul-2016, Michel Le Bihan wrote: > >>> import requests > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 61, in > <module> > from .packages.urllib3.exceptions import DependencyWarning > ImportError: cannot import name DependencyWarning
Can you show more of the specifics on your system? On mine (Debian Stretch), I can see:: $ python2 Python 2.7.12 (default, Jun 29 2016, 08:18:26) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.version_info sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0) >>> sys.executable '/usr/bin/python2' >>> sys.path ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0'] >>> import requests >>> requests.__version__ '2.10.0' >>> requests.__file__ '/usr/lib/python2.7/dist-packages/requests/__init__.pyc' Can you attempt the above session and paste the result in a message here? -- \ “Pinky, are you pondering what I'm pondering?” “Well, I think | `\ so (hiccup), but Kevin Costner with an English accent?” —_Pinky | _o__) and The Brain_ | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: PGP signature