开发者

IPython error: /usr/local/bin/iptest: Permission denied

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开发者_Go百科 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!


I suggest not to mess up with your system python and use virtualenv instead.

This would avoid permission problems too.


Well, check the file permissions using ls -la on the file and if necessary use 'chmod' to give the installed files the right permissions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜