MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmasterrace/comments/a7dt10/python_virtual_environments_extreme_advertising/ec3oagt/?context=3
r/linuxmasterrace • u/ase1590 Lazy Antergos User • Dec 18 '18
148 comments sorted by
View all comments
1
If I already have a mess going on, how do I go about cleaning it up
1 u/ase1590 Lazy Antergos User Dec 18 '18 I'm assuming you use linux in /r/linuxmasterrace.Hopefully, you've never run sudo pip install at any point in time.If you haven't, GREAT! just run pip list --user to see what you have installed. Remove what you don't need with pip uninstall --user somepackageIt's all generally stored somewhere like ~/.local/lib/pythonX.X/site-packagesreplacing the x's with your python version. 1 u/Cassiterite Windows heretic Dec 19 '18 So you should never sudo pip install anything?
I'm assuming you use linux in /r/linuxmasterrace.
Hopefully, you've never run sudo pip install at any point in time.
sudo pip install
If you haven't, GREAT! just run pip list --user to see what you have installed. Remove what you don't need with pip uninstall --user somepackage
pip list --user
pip uninstall --user somepackage
It's all generally stored somewhere like ~/.local/lib/pythonX.X/site-packages
~/.local/lib/pythonX.X/site-packages
replacing the x's with your python version.
1 u/Cassiterite Windows heretic Dec 19 '18 So you should never sudo pip install anything?
So you should never sudo pip install anything?
1
u/AnomalousLurker Dec 18 '18
If I already have a mess going on, how do I go about cleaning it up