3 ms·
oh, it's 2015 and people still don't know about pep-370, PYTHONUSERBASE and pip install --user :( https://www.python.org/dev/peps/pep-0370/ https://www.python.
by gdamjan1 11y ago
oh, it's 2015 and people still don't know about pep-370,
PYTHONUSERBASE and pip install --user :(
https://www.python.org/dev/peps/pep-0370/ https://www.python.org/dev/peps/pep-0370/
- l00mer 11y agoThat's for per-user isolation. This is about per-project isolation. A single user can have many projects with different dependencies.
- gdamjan1 11y agothat's what PYTHONUSERBASE (the environment variable) is there for!
- l00mer 11y agoAh, I hadn't thought of using it that way. Seems like a working solution, even though it's not the problem that the PEP is meant to solve.
- ehremo 11y agoBut you may want to keep 3 installation levels: global, per-user and per-project. If you use the second to achieve the third, then you no longer have the second.
- thameera 11y agoPYTHONUSERBASE seems like a superior idea than any others to me. Wonder why it is not popular.