pip3 Defaulting to user installation because normal site-packages is not writeable

发布时间 2023-07-05 18:40:26作者: 悟透

Defaulting to user installation because normal site-packages is not writeable

image


原因:
没有操作 site-packages 目录权限


解决方法:
命令前加上 sudo

sudo pip3 install CommandNotFound