On Wednesday, April 1, 2015 at 12:05:12 PM UTC-4, Ian wrote: > On Wed, Apr 1, 2015 at 9:46 AM, <teqi...@gmail.com> wrote: > > When I am trying to import requests library in python shell, I get this > > error: ImportError: No module named 'requests.packages.urllib3' > > I have tried searching online and followed a few probable solutions but yet > > no luck. > > Does anyone know how I can solve this error? > > I am using python 2.7 > > It sounds like there's something missing from your requests > installation. How did you attempt to install it, and were there any > errors?
I installed it using pip. I had to use sudo pip install requests to get the module in the site-packages directory. I did not see any error. -- https://mail.python.org/mailman/listinfo/python-list