I am trying to compare/contrast various python tools and I would like ipython in the mix, but when I run ipython I get the readline warning even though readline is installed on my mac:
WARNING: Readline services not available on this platform.
WARNING: The auto-indent feature requires the readline library
After reading Stack Overflow's installing-ipython-with-readline-on-the-mac, I checked my port installed and discovered that py26-ipython was not among my installed ports. Installing this did not fix my problem, nor does it answer my question. Are there perhaps different python paths for different utilities? Something else? Any advice is much appreciated.
Here are the original symptoms:
- ipython is installed on my mac in my python directory - must have come with one of the macports installed packages - and launched just fine, but gave the readline warning mentioned above
- I checked and readline is among the port installed programs; furthermore, "import readline" is successful in interactive python and in spyder
- easy_install readline indicated that "readline 6.1.0 is already the active version in easy-install.pth"
- readline is not on my path (and I don't know that it should be), but the headers can be found in /opt/local/include/readline/
- I have removed the the full listing of installed ports (prior to implementing the stack overflow fix) because the answer didn't seem to need them, but can add them back if I learn a way to show/hide or otherwise minimize real estate
Here are the additional data points from after installing ipython with macports.
- #1-#3 above are still true.
- I have removed the additionally installed ports because the answer didn't seem to need them, but can add them back if I learn a way to show/hide or otherwise minimize real estate
After seeing the StackOverflow Q&A, I decided to follow up and this seems like a better forum for this question.