I seem to be getting an odd problem when using iPython sometimes.

Every time I try to go one line up or down (i.e. navigating through history or previous statements) it seems to put my cursor and the code in the middle of the screen, that ofcourse gives indentation errors.

Screenshot of the problem:

alt

Any ideas how to fix this?

link|improve this question
Strange. Are you using Python at /usr/bin/python? How did you install IPython? As a sanity check, can you try using another terminal app like iTerm? – fideli Dec 23 '10 at 7:43
feedback

1 Answer

up vote 1 down vote accepted

After some digging around found out that "readlines" can cause such problems when installed via pip (on mac OS).

I removed current ipython and "readlines" lib and reinstalled them using "easy_install" which fixed the problem.

link|improve this answer
Good to hear, glad it works. – fideli Jan 14 '11 at 5:26
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.