Reputation: 11741
I've never had this problem before and I don't understand why it's happening now so I'm hoping someone has encountered this. If I'm using iPython in interactive mode and try to do a loop I don't get an auto indent (and can't add one in on my own). So if I do
for i in range(5):
The next line is not indented, and if I try to indent it won't move the cursor over. I'm using iPython 0.13.2 on Mac OS X Mountain Lion
EDIT I can space over to add indentation but I can't use tab and it's never added automatically. I have also ensured that %autoindent
has auto indent on
Upvotes: 1
Views: 605
Reputation: 40390
This is another symptom of the problems with libedit
, the Mac equivalent of readline.
IPython will show a warning about libedit, which will instruct you to easy_install readline
. Be sure to use easy_install, not pip - the latter won't install it correctly in this case.
Upvotes: 2