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:Permission denied”?我的Mac上只有一个帐户,但我猜它可能与管理员或root访问权限有关,但我认为使用$ sudo可以让它工作。 任何帮助将不胜感激。 谢谢!     
已邀请:
我建议不要搞砸你的系统python并改用virtualenv。 这也可以避免许可问题。     
好吧,使用文件上的ls -la检查文件权限,如有必要 使用'chmod'为安装的文件提供正确的权限。     

要回复问题请先登录注册