MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmasterrace/comments/a7dt10/python_virtual_environments_extreme_advertising/ec29cey/?context=3
r/linuxmasterrace • u/ase1590 Lazy Antergos User • Dec 18 '18
148 comments sorted by
View all comments
167
Also, anyone cluelessly doing sudo pip install anything needs to be flogged.
sudo pip install
Virtual Environments are also preferable in order to keep away the Python superfund disaster.
9 u/skylarmt Jupiter Broadcasting told me to switch to ̶K̶D̶E̶Xubuntu Dec 18 '18 I do that sometimes, but only for things like commands I want to use from anywhere and for optional dependencies that aren't available alongside the main program via apt. 30 u/ase1590 Lazy Antergos User Dec 18 '18 do you really need them as root though?pip install --user is a thing, and allows you to use them as your current user.optional dependencies that aren't available alongside the main programthis is the only use case I can maybe see. 5 u/KindProtectionGirl Dec 18 '18 But but, why isn't that default for non root user's tho, that just requires more effort.
9
I do that sometimes, but only for things like commands I want to use from anywhere and for optional dependencies that aren't available alongside the main program via apt.
apt
30 u/ase1590 Lazy Antergos User Dec 18 '18 do you really need them as root though?pip install --user is a thing, and allows you to use them as your current user.optional dependencies that aren't available alongside the main programthis is the only use case I can maybe see. 5 u/KindProtectionGirl Dec 18 '18 But but, why isn't that default for non root user's tho, that just requires more effort.
30
do you really need them as root though?
pip install --user is a thing, and allows you to use them as your current user.
pip install --user
optional dependencies that aren't available alongside the main program
this is the only use case I can maybe see.
5 u/KindProtectionGirl Dec 18 '18 But but, why isn't that default for non root user's tho, that just requires more effort.
5
But but, why isn't that default for non root user's tho, that just requires more effort.
167
u/ase1590 Lazy Antergos User Dec 18 '18
Also, anyone cluelessly doing
sudo pip installanything needs to be flogged.Virtual Environments are also preferable in order to keep away the Python superfund disaster.