admin管理员组

文章数量:1612099

WARNING: The directory ‘/home/wang/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H f…
直接 pip install 模块名,不用sudo。权限的问题,对后续使用不影响。不管是用pip装什么模块,前面都尽量不要加sudo。

拓展:

sudo是linux系统管理指令,是允许系统管理员让普通用户执行一些或者全部的root命令的一个工具,如halt,reboot,su等等。这样不仅减少了root用户的登录 和管理时间,同样也提高了安全性。sudo不是对shell的一个代替,它是面向每个命令的。

本文标签: tsparentwarningdirectoryUser