IPython doesn't work in Django shell

Viewed 6105

I've just recently switched over to using 64-bit Python 2.6.1 on Mac OS X 10.6 (Snow Leopard). IPython won't work with Django anymore, but IPython works from the command-line.

The error says:

    shell = IPython.Shell.IPShell(argv=[])
AttributeError: 'module' object has no attribute 'Shell'

I could use the ./manage.py --plain option, but it's not really a fix. Any help very gratefully received!

3 Answers

Does this work when you run it from Python interactive console?

import IPython; IPython.Shell
Related