Closed
Description
virtualenv --version # 1.11.1
virtualenv pip-test --system-site-packages
source pip-test/bin/activate
pip --version # 1.5.1
pip install requests==2.0
pip install -U requests --user # installs 2.2.1 to ~/.local
pip install -U requests --user # installs again even though already there
pip uninstall requests # will uninstall in venv but not in PYTHONUSERBASE
I actually expected the --user install to fail with Will not install to the user site because it will lack sys.path precedence
. I don't know why the above pip install -U requests --user
installs at all (this is actually kinda' what I want). Given that it does install, I would expect the next call to report "Requirement already satisfied". But, it does not recognize and installs again. Uninstall in this scenario can not be made to uninstall from the PYTHONUSERBASE
, it seems.