What are the risks of running 'sudo pip'?

前端 未结 4 2162
猫巷女王i
猫巷女王i 2020-11-22 07:52

Occasionally I run into comments or responses that state emphatically that running pip under sudo is \"wrong\" or \"bad\", but there are cases (inc

4条回答
  •  庸人自扰
    2020-11-22 08:27

    The only thing "wrong" with sudo is that it, well, DOes as Super User ala root meaning you can potentially destroy an installation with the wrong command. As PIP is a package maintenance for a particular program you would need such access anyhow to make changes...

提交回复
热议问题