r/learnpython • u/MiserableDirt1910 • 21d ago
pip vs pipx
as far as I understand pip just installs the package while pipx installs the executable and creates an environment but why create an environment in the first place? Is it so that when someone else runs the program and there are changes in the package the program might break but an isolated package is protected in the environment?
0
Upvotes
View all comments
Show parent comment
7
u/SharkSymphony 21d ago
Pip does not require a virtual environment! You can use pip just fine with the system installation, so long as it has the appropriate access privileges.