如何在雪豹上安装 iPython
iPython 可以在 Mac OS X 10.6.1 Snow Leopard 上运行吗?我是 python 菜鸟,如何在 Mac 上安装 iPython?链接?建议?
谢谢
Does iPython work on Mac OS X 10.6.1 Snow Leopard? I'm python noob, how can I install iPython on my Mac? Links? suggestions?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
要在 10.6 中使用 Apple 提供的 Python 进行安装:
要使用:
To install with the Apple-supplied Python in 10.6:
To use:
我可以补充一点,运行
使您能够使用制表符完成来查看模块的属性......
I may add that running
gives you the ability to use tab completion to see the attributes of a module....
虽然 ipython 使用 easy_install 安装并可运行,但我发现存在一些渲染问题,只能通过安装 pyreadline 来解决。但是,我发现使用easy_install安装pyreadline存在一些问题。我采用的解决方案涉及手动提取 python 包并编辑 pyreadline 尝试编译的 gnu-readline 版本。我在我的博客上发布了更深入的指南
干杯
- 新浪
Though ipython installs and is runnable using easy_install, I found that there were some rendering problems which could only be solved by installing pyreadline as well. However, i found that there were some problems with pyreadline's installation using easy_install. The solution i've gone with involves manually extracting the python package and editing the version of gnu-readline which pyreadline tries to compile. I've posted a more in depth guide on my blog
Cheers
-- Sina
与其他 python 扩展一样, pip 使其变得非常简单:
As with other python extensions, pip makes it quite easy: