Comment 10 for bug 1306991

Revision history for this message
mlissner (mlissner-michaeljaylissner) wrote :

And here's my solution. Basically, I move the installed version of requests aside then reinstall the version that I had using easy_install (since pip is borked). Once that's done, you can see that it works again. Note that you can't just install requests without telling it a version because it might install from pip's cache, which would just install the old version of requests again.

11:07:08::mlissner@pounamu::/usr/lib/python2.7/dist-packages
↪ sudo mv requests/ requests.old

11:07:42::mlissner@pounamu::/usr/lib/python2.7/dist-packages
↪ sudo easy_install requests==2.2.1
Searching for requests==2.2.1
Reading https://pypi.python.org/simple/requests/
Best match: requests 2.2.1
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.2.1.tar.gz#md5=ac27081135f58d1a43e4fb38258d6f4e
Processing requests-2.2.1.tar.gz
Writing /tmp/easy_install-JEvkCb/requests-2.2.1/setup.cfg
Running requests-2.2.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JEvkCb/requests-2.2.1/egg-dist-tmp-ybDF6A
Adding requests 2.2.1 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/requests-2.2.1-py2.7.egg
Processing dependencies for requests==2.2.1
Finished processing dependencies for requests==2.2.1