Python在安装模块的过程中,有时候会遇到如下问题:
error: could not create'/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/greenlet':Operation not permitted
简单的处理方法就是:
pip install module_name –user –U 在安装的时候让pip按照用户去安装就可以了。
本文介绍了一种常见的Python模块安装过程中出现的权限错误及解决方案。当使用pip安装模块时,可能会遇到创建文件夹操作不被允许的问题。文章提供了一个简单的方法来规避这一限制:通过添加`--user --U`参数让pip以用户级别进行安装。
Python在安装模块的过程中,有时候会遇到如下问题:
error: could not create'/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/greenlet':Operation not permitted
简单的处理方法就是:
pip install module_name –user –U 在安装的时候让pip按照用户去安装就可以了。
2163
2371
6404
3661

被折叠的 条评论
为什么被折叠?