1

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?

  • 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
1

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.

  • Good to hear, glad it works. – fideli Jan 14 '11 at 5:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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