I am using Python 2.7 64 bit on Windows 8. I have Requests version 2.3 installed. I am trying to run this import statement as part of bringing in number of retries within my code:
from requests.packages.urllib3.util import Retry
I have urllib3 installed also (I've just installed it now via Pip). I am getting the error message:
Traceback (most recent call last):
File "C:\Python27\counter.py", line 3, in <module>
from requests.packages.urllib3.util import Retry
ImportError: cannot import name Retry
Can anyone tell me why this is? Are there any other dependencies I am unaware of to run this line of code successfully?
Thanks