Using iPython with PyCharm

Answered

I would like to get iPython working well with PyCharm, but am having trouble and am wondering what the solution might be, if there is one.

I am using PyCharm 2017.1 and iPython 5.3.0. Additionally, I am using Python 2.7.13.

When I run a python script and break into the console, I see an error message which starts with

        libedit detected - readline will not be well behaved...  

It tells me that I can use easy_install to get readline installed in such a way that it should work. So, I use pip to uninstall readline and use 'pip list' to make sure it is uninstalled. I then use easy_install to install readline, but note that it installing into the site_packages folder where the error message mentioned it should not go.

Can I get iPython and PyCharm working together so this error does not appear? If so, how?

 

0
2 comments

Hi! Does it work for you outside of PyCharm? It might be virtualenv bug, please read: http://stackoverflow.com/questions/7375545/ipython-complaining-about-readline

0
Avatar
Permanently deleted user

Yes, it does appear to work outside of pycharm without any trouble. I did find and use the suggestion of 'easy_install -a readline' and the behavior did not change. 

0

Please sign in to leave a comment.