且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

pip install和sudo pip install有什么区别?

更新时间:2023-01-14 23:15:18

pip install

将以当前用户身份运行pip install

Will run pip install as the current user

sudo pip install

将使用其他用户(例如root)的安全特权运行pip install.
通常,您需要使用sudo在系统上安装软件包.

Will run pip install with the security privileges of another user, root for example.
You normally need to use sudo to install a package on a system.

您可能想阅读 linux-101-introduction-to-sudo