IPython 错误:/usr/local/bin/iptest:权限被拒绝
我正在尝试在终端的 Snow Leopard 中安装 iPython。
在终端窗口中,我输入:
$sudo /usr/bin/easy_install-2.6 ipython
我得到以下结果:
Searching for ipython
Best match: ipython 0.10.1
Processing ipython-0.10.1-py2.6.egg
ipython 0.10.1 is already the active version in easy-install.pth
Installing iptest script to /usr/local/bin
error: /usr/local/bin/iptest: Permission denied
是否有原因导致我不断收到“错误:/usr/local/bin/iptest:权限被拒绝”?我的 mac 上只有一个帐户,但我猜测它可能与管理员或 root 访问权限有关,但我认为使用 $sudo 可以让它工作。
任何帮助将不胜感激。
谢谢!
I'm trying to install iPython in Snow Leopard in Terminal.
In the terminal window I type:
$sudo /usr/bin/easy_install-2.6 ipython
I get the following result:
Searching for ipython
Best match: ipython 0.10.1
Processing ipython-0.10.1-py2.6.egg
ipython 0.10.1 is already the active version in easy-install.pth
Installing iptest script to /usr/local/bin
error: /usr/local/bin/iptest: Permission denied
Is there a reason why I keep getting the "error: /usr/local/bin/iptest: Permission denied"? I only have one account on my mac but I'm guessing that it may have something to do with admin or root access, but I thought using $sudo would allow it to work.
Any help would be greatly appreciated.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议不要搞乱你的系统 python 并使用 virtualenv 代替。
这也可以避免权限问题。
I suggest not to mess up with your system python and use virtualenv instead.
This would avoid permission problems too.