ipython常见问题
我喜欢 iPython 的众多特性、神奇功能。
我最近升级到了最新的0.10版本。但我面临以下常见问题:
%hist
最常用的魔术函数之一,不存在。dreload
似乎不起作用(仅适用于模块?)。- 用于调试的
run -d
不起作用 - 有时,键入的字符不会显示在控制台上*
- 默认情况下,甚至连 ?和 ??没用。我必须破解它才能工作*
*最后两个问题对于以前的版本也是如此。
我使用的是 Ubuntu 9.04,带有 Python 2.6.2 和 IPython 0.10
I love iPython's so many features, magic functions.
I recently upgraded to the latest 0.10 version. But I face following common problems:
%hist
one of the most frequently used magic functions, doesn't exist.dreload
doesn't seems to work (works only for modules?).run -d
for debugging doesn't work- At times, typed characters are not displayed on the console*
- By default even the ? and ?? didn't work. I had to hack for that to work*
*The last 2 problems are true for the previous versions too.
I am on Ubuntu 9.04 with Python 2.6.2 and IPython 0.10
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来像是您的特定设置的问题。 ?和 ??一直在我的机器上工作, hist 仍然是一个神奇的功能,而 dreload 一直只适用于模块 - 它还能做什么?
至于调试问题,这是 python 2.6 的一个已知问题: https://bugs.launchpad .net/ipython/+bug/381069
sounds like an issue with your particular setup. ? and ?? have always worked on my machine, hist is still a magic function, and dreload has always only worked for modules--what else would it do?
as for the debug thing, it's a known issue with python 2.6: https://bugs.launchpad.net/ipython/+bug/381069