5 ms·
This means all my projects have to work with the same versions of dependencies. This means all my dependencies have to work with the same versions of dependenc
by dec0dedab0de 7y ago
This means all my projects have to work with the same versions of dependencies.
This means all my dependencies have to work with the same versions of dependencies.
Then why not just install everything globally?
- SmirkingRevenge 7y agoOne reason might be, that you can blow away your user dir and start clean if something goes horribly wrong.
- 1337shadow 7y agoNot to mess with system packages, but I sometimes do so in containers. I just started to switch to --user in containers so that my users would not have to rebuild python dependencies from scratch when they use it for development: with source bind mounted into /app, which is declared as the home of the app user in my container, as such, .local remains between builds on the developer checkout (like node_modules)