系统相关
首页 > 系统相关> > Ubuntu18.04问题记录

Ubuntu18.04问题记录

作者:互联网

1. pip install 包时偶然间碰上了如下问题:

Could not install packages due to an EnvironmentError: [Errno 13] 权限不够: '/usr/local/lib/python3.6/dist-packages/DjangoUeditor'
Consider using the `--user` option or check the permissions.

解决方案:正如里面的提示信息所言,可以尝试添加 '--user' 参数: pip install --user package 。搞定!

当然,网上还提供另一种方法:切换到 root 用户进行pip安装。这个我没试过,各位有兴趣的可以尝试一下。

标签:尝试,packages,记录,问题,没试,user,install,pip,Ubuntu18.04
来源: https://www.cnblogs.com/johnyhe/p/10416463.html