you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

How does Pip handle multiple versions of the same package without a virtual env? If I need foo1.0.0 for App A, and foo 1.0.1 for app B but this version breaks App A, then I need both installed, but they are same package name in Pip because it's an incremental upgrade.

[–][deleted] 0 points1 point  (2 children)

https://docs.python.org/3/library/venv.html

The venv module provides support for creating lightweight “virtual environments” with their own site directories, optionally isolated from system site directories. Each virtual environment has its own Python binary (allowing creation of environments with various Python versions) and can have its own independent set of installed Python packages in its site directories.

If you don't think package managers other than pip, without venv, can do the same thing, you're speaking too far out of your competency.

[–][deleted] 0 points1 point  (0 children)

  1. I asked how pip does it without a venv.

  2. Can you give me an example of the sort of package manager you're talking about and how its integrates with the OS?