Hi, 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.
Chris On 5 Dec 2011, at 6:46pm, Jean-François Caron wrote: > On 2011-12-05, at 10:41 , Frank Schima wrote: >> >> On Dec 5, 2011, at 11:06 AM, Jean-François Caron wrote: >> >>> 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. >>> >>> See below for my terminal output when I tried the various commands. >>> >>> >>> jfcaron@jfcaron-macbook:~$ ipython >>> /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' >>> RuntimeWarning) >>> Python 2.7.2 (default, Dec 3 2011, 17:24:13) >>> Type "copyright", "credits" or "license" for more information. >>> >>> IPython 0.11 -- An enhanced Interactive Python. >>> ? -> Introduction and overview of IPython's features. >>> %quickref -> Quick reference. >>> help -> Python's own help system. >>> object? -> Details about 'object', use 'object??' for extra details. >>> 34In[1;3[0;34][0^D >>> Do you really want to exit ([y]/n)? y >>> jfcaron@jfcaron-macbook:~$ port installed|grep readline >>> readline @6.2.000_0+universal (active) >>> jfcaron@jfcaron-macbook:~$ python >>> Python 2.7.2 (default, Dec 3 2011, 17:24:13) >>> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on >>> darwin >>> Type "help", "copyright", "credits" or "license" for more information. >>>>>> ^D >>> >>> >>> 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. >> >> What is the output of the following? >> >> port installed py27-readline > > Indeed py27-readline was not installed, after installing it the problem went > away. > > I'm wondering how py27-readline went away, since it is a dependency of > py27-ipython, which I was installed the whole time? > > Jean-François > _______________________________________________ > macports-users mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
