|
|
|
|
|
by dragonwriter
334 days ago
|
|
Virtual environments are useful for isolating dependencies for different projects, not just isolating the interpreter. (I mean, except on Windows, your venvs default to symlinking the interpreter and other shared bits, so you aren't really isolating the interpreter at all, just the dependencies.) |
|
(also one of the reasons why, if you're invoking venv manually, you absolutely need to invoke it from the correct python as a module (`python3.13 -m venv`) to make sure you're actually picking the "correct python" for the venv)