Don't sudo pip

6 years ago
ian $Q__4tgrnLN

https://pages.charlesreid1.com/dont-sudo-pip/

You're paranoid. What's the big deal?

Running sudo pip install package-x is insanely dangerous. It is equivalent to giving a complete stranger root access on your machine.

You run pip as sudo, and pip runs setup.py as sudo, and setup.py can run system commands.

...in case you're wondering, that's bad.

Last Seen
a year ago
Reputation
0
Spam
0.000