【发布时间】:2011-01-07 17:18:10
【问题描述】:
我最近刚刚切换到在 Mac OS X 10.6 (Snow Leopard) 上使用 64 位 Python 2.6.1。 IPython 将不再与 Django 一起工作,但 IPython 从命令行工作。
错误提示:
shell = IPython.Shell.IPShell(argv=[])
AttributeError: 'module' object has no attribute 'Shell'
我可以使用./manage.py --plain 选项,但这并不是真正的解决方案。非常感谢您的任何帮助!
【问题讨论】:
-
你有什么版本的 iPython?
-
另外,你可以在django中使用bpython,同时:uswaretech.com/blog/2009/12/…
-
我有 IPython 0.11.bzr.r1205 。 bpython 看起来很有趣,谢谢你的提示
-
[IPython 找不到 Shell.IPShell 类](stackoverflow.com/questions/4262938/…)的可能重复项
标签: python django osx-snow-leopard