Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|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
add comment

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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