macOS pip install powerline-status error
info
➜ ~ which python
/usr/bin/python
sudo pip install powerline-status
执行后报如下错误
creating build/scripts-2.7
copying and adjusting scripts/powerline-lint -> build/scripts-2.7
copying and adjusting scripts/powerline-daemon -> build/scripts-2.7
copying and adjusting scripts/powerline-render -> build/scripts-2.7
copying and adjusting scripts/powerline-config -> build/scripts-2.7
changing mode of build/scripts-2.7/powerline-lint from 644 to 755
changing mode of build/scripts-2.7/powerline-daemon from 644 to 755
changing mode of build/scripts-2.7/powerline-render from 644 to 755
changing mode of build/scripts-2.7/powerline-config from 644 to 755
running install_lib
running install_data
copying scripts/powerline -> /System/Library/Frameworks/Python.framework/Versions/2.7/bin
error: [Errno 1] Operation not permitted:
u'/System/Library/Frameworks/Python.framework/Versions/2.7/bin/powerline'
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/private/tmp/pip-build-CLKYHF/powerline-
status/setup.py';f=getattr(tokenize, 'open', open)
(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code,
__file__, 'exec'))" install --record /tmp/pip-hbMoq2-record/install-
record.txt --single-version-externally-managed --compile" failed with error
code 1 in /private/tmp/pip-build-CLKYHF/powerline-status/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
pip install --user powerline-status
如果还不行可参考安装文档:
https://powerline.readthedocs...
我也是这样的问题 露珠解决了吗 求分享