4 ms·
Doubly so since when installed on a server very often it will be done as "sudo pip install ....." (/s/pip/other-package-manager/ as needed)
by ams6110 9y ago
Doubly so since when installed on a server very often it will be done as "sudo pip install ....." (/s/pip/other-package-manager/ as needed)
- tekromancr 9y agoI almost never see this. Even on systems that are only running a single python project, I only ever see folks use virtualenv. The only time I ever see things installed with sudo is when the package is being installed in a docker container.
- striking 9y agoThis used to be super common, though. I see it all the time in legacy apps.
- acdha 9y agoYes – to the degree that it's uncommon now that's because many people in the community spent years loudly advising against it.
- jefurii 9y ago> virtualenv Running "pip install" as a user that has access only to the virtualenv directory is sounding like a good strategy.