I am currently using the python package, which depends on requests 2.7.0 or higher, but requests on my Ubuntu 14.04 system is version 2.2.1. I tried updating via pip:
pip install requests==2.7.0
but it gives me an error saying:
Not uninstalling requests at /usr/lib/python2.7/dist-packages, owned by OS
I tried updating it using apt-get install --only-upgrade python-requests , but it says that it is already in the latest version (and it is not).
Then I tried installing in virtualenv, but it gives the same message as the pip message above.
Finally, I thought of two options:
1-) Unninstalling via apt-get and then installing via pip - I think this is too risky, as it will remove many other packages.
2-) Cloning from github and manual installation via setup.py, but I also fear that this might go wrong with other packages depending on it
What is the best way to do this? Is there something simple I'm missing?
source share