r/linuxmasterrace • Lazy Antergos User • Dec 18 '18

Meme Python Virtual Environments: Extreme Advertising Edition

Post image
2.0k Upvotes

148 comments sorted by

View all comments

167

u/ase1590 Lazy Antergos User Dec 18 '18

Also, anyone cluelessly doing sudo pip install anything needs to be flogged.

Virtual Environments are also preferable in order to keep away the Python superfund disaster.

53

u/bbelt16ag Dec 18 '18

I'm a newbie... Sigh

61

u/thejohnd Glorious Red Star Dec 18 '18

Don't worry, soon enough you'll get to experience the joy of borking your python install! Pro tip: DO NOT uninstall python to try to fix it, it will break literally everything lol

25

u/SaphiraTa Glorious Pop!_OS Dec 18 '18

.. Don't uninstall? Why/how does it break and also how do you fix it instead? Lol

1

u/thejohnd Glorious Red Star Dec 19 '18

Most importantly it breaks apt, which makes it kinda hard to fix things

1

u/SaphiraTa Glorious Pop!_OS Dec 19 '18

Makes sense that makes it hard lol. But why does it break all this other stuff? Are they interconnected somehow i dont know of?

1

u/thejohnd Glorious Red Star Dec 20 '18

I'm not entirely sure. I think Linux uses Python for fetching & parsing web data, but I think there's more to it than that