Python easy_install 给出 [errno13]
我正在尝试安装 Hookbox 但没有成功,当我调用 easy_install
时或者
python setup.py install
它给了我[Errno 13]权限被拒绝:'/usr/local/lib/python2.6/site-packages/test-easy-install-68779.write-test'
当我尝试向该目录授予写入权限时,它给出了
chmod: /usr/local/lib/python2.6/site-packages/: Operation not permitted
是否有任何方法可以解决此问题或在不使用 easy_install 的情况下安装 hookbox?
I'm tring to install Hookbox but without success, when I call easy_install
or
python setup.py install
it gives me [Errno 13] Permission denied: '/usr/local/lib/python2.6/site-packages/test-easy-install-68779.write-test'
When I try to grant write permissions to this derectory it gives
chmod: /usr/local/lib/python2.6/site-packages/: Operation not permitted
is there any way to solve this prob or install hookbox without easy_install?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该使用适当的权限来安装
另一个选项是使用 virtualenv 创建一个隔离环境,您可以在其中安装
另一种方法是在您有权限的地方安装一些东西。
另请参阅带有选项前缀的备用 unix 安装
请参阅文档中这些选项的详细信息: http://docs.python .org/install/
如果你问我的偏好,我会选择 virtualenv、virtualenvwrapper、pip 和 yolk 来管理外部模块。谷歌为他们
You should have used appropriate privilege to install
Another option is to use virtualenv to create a isolated environment where you could install
Another way is too install some where, where you have permission.
see also the alternate unix installation with option prefix
See the details of these options in the docs: http://docs.python.org/install/
If you ask my preference it would be virtualenv, virtualenvwrapper, pip and yolk to manage external modules. google for them