4 ms·
Why can't we just have something like npm/gradle/maven dependencies? What makes python any different?
by andoando 9mo ago
Why can't we just have something like npm/gradle/maven dependencies? What makes python any different?
- lexicality 9mo agoA python virtualenv is just a slightly more complicated node_modules. Tools like PDM, Poetry and uv handle them automatically for you to the point where it effectively is the same as npm. The thing that makes Python different is that it was never designed with any kind of per-project isolation in mind and this is the best way anyone's come up with to hack that behaviour into the language.
- deleted 9mo ago[deleted]