avatar
Invalid Handle @5h09un.bsky.social

So apparently whenever you start a new “virtual environment” with python you have to reinstall all the libraries you might want to use even though you’re already using them on another project? Am I getting this right?

sep 1, 2025, 9:48 pm • 1 0

Replies

avatar
Invalid Handle @5h09un.bsky.social

Because that’s lame as hell if true

sep 1, 2025, 9:50 pm • 0 0 • view
avatar
nfor.bsky.social @nfor.bsky.social

There is a cache with packages copies. But yes, they get copied everywhere. Pip can't deal with multiple versions of a package. Afaik, there is no package manager in python doing it differently. In ruby bundler works the not lame way

sep 1, 2025, 10:04 pm • 1 0 • view
avatar
pyrezerg.bsky.social @pyrezerg.bsky.social

Yes. A virtual environment is an isolated install (that's the whole point of them), so doing something in another venv can't break it and vice versa.

sep 1, 2025, 10:03 pm • 1 0 • view