<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>Just for the record, I had exactly the same problem as this yesterday…. py27-readline wasn't installed even though I had py27-ipython. Had to install it by hand.</div><div><br></div><div>Chris </div><div><br><div><div>On 5 Dec 2011, at 6:46pm, Jean-François Caron wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 2011-12-05, at 10:41 , Frank Schima wrote:</div><blockquote type="cite"><div><font class="Apple-style-span"><br></font>On Dec 5, 2011, at 11:06 AM, Jean-François Caron wrote:<br><br><blockquote type="cite">This happened after my latest round of selfupdate and upgrade outdated. Previously ipython worked with no problems, but now if I start it up, I get an error message about readline, and something about libedit coming from Leopard (I am running Lion). It recommends that I install readline, which is already installed from macports. After the error message, I get an ipython prompt but the prompt itself is screwed up. The regular python interpreter has no problems. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">See below for my terminal output when I tried the various commands.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">jfcaron@jfcaron-macbook:~$ ipython<br></blockquote><blockquote type="cite">/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/utils/rlineimpl.py:96: RuntimeWarning: Leopard libedit detected - readline will not be well behaved including some crashes on tab completion, and incorrect history navigation. It is highly recommended that you install readline, which is easy_installable with: 'easy_install readline'<br></blockquote><blockquote type="cite"> RuntimeWarning)<br></blockquote><blockquote type="cite">Python 2.7.2 (default, Dec 3 2011, 17:24:13) <br></blockquote><blockquote type="cite">Type "copyright", "credits" or "license" for more information.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">IPython 0.11 -- An enhanced Interactive Python.<br></blockquote><blockquote type="cite">? -> Introduction and overview of IPython's features.<br></blockquote><blockquote type="cite">%quickref -> Quick reference.<br></blockquote><blockquote type="cite">help -> Python's own help system.<br></blockquote><blockquote type="cite">object? -> Details about 'object', use 'object??' for extra details.<br></blockquote><blockquote type="cite">34In[1;3[0;34][0^D<br></blockquote><blockquote type="cite">Do you really want to exit ([y]/n)? y<br></blockquote><blockquote type="cite">jfcaron@jfcaron-macbook:~$ port installed|grep readline<br></blockquote><blockquote type="cite"> readline @6.2.000_0+universal (active)<br></blockquote><blockquote type="cite">jfcaron@jfcaron-macbook:~$ python<br></blockquote><blockquote type="cite">Python 2.7.2 (default, Dec 3 2011, 17:24:13) <br></blockquote><blockquote type="cite">[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin<br></blockquote><blockquote type="cite">Type "help", "copyright", "credits" or "license" for more information.<br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">^D<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Any suggestions would be appreciated, I'm hoping it's a simple "select" command that I need to issue, but it's strange that doing the regular port upgrade outdated would have broken this program.<br></blockquote><br>What is the output of the following?<br><br><span class="Apple-tab-span" style="white-space:pre"> </span>port installed py27-readline<br></div></blockquote></div><br><div>Indeed py27-readline was not installed, after installing it the problem went away. </div><div><br></div><div>I'm wondering how py27-readline went away, since it is a dependency of py27-ipython, which I was installed the whole time?</div><div><br></div><div>Jean-François</div></div>_______________________________________________<br>macports-users mailing list<br><a href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a><br>http://lists.macosforge.org/mailman/listinfo.cgi/macports-users<br></blockquote></div><br></div></body></html>