MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmasterrace/comments/a7dt10/python_virtual_environments_extreme_advertising/ecbo7of/?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.
1 u/Ansamemsium Dec 22 '18 A newbie question, after i made a virtual env i should make my project inside that folder ? Or i can put it anywhere and when i run the script just do it with the venv activated ? 2 u/ase1590 Lazy Antergos User Dec 22 '18 While it can technically run from anywhere, it's best practice to have your project in the folder.
1
A newbie question, after i made a virtual env i should make my project inside that folder ? Or i can put it anywhere and when i run the script just do it with the venv activated ?
2 u/ase1590 Lazy Antergos User Dec 22 '18 While it can technically run from anywhere, it's best practice to have your project in the folder.
2
While it can technically run from anywhere, it's best practice to have your project in the folder.
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.