Comment 14 for bug 1306991

Revision history for this message
Andrew Plummer (plummer574) wrote :

I poked around a bit and found that requests was being loaded from /usr/local/lib/python2.7/dist-packages as it appeared before /usr/lib/python2.7/dist-packages in my python path.

The /usr/local/lib/ version was 1.1.0 but the /usr/lib/ was version 2.2.1.

Fixed it with:
sudo rm -rf /usr/local/lib/python2.7/dist-packages/requests

Not sure what it was that will have installed requests to here, but it would appear to not be a bug with requests, but rather two versions installed, and the old one is being preferred. Ripping out the old version fixed it.