News for hackers. Stuff that matters.
Re:Bpython is a fancy interface to the Python interpreter by glesica on Sunday May 20, 2012 @10:14PM (#4000957)
I've been aware of this for awhile but this prompted me to play with it. Killer feature for me: it can be easily installed inside a virtualenv. This is not (last I checked) possible with ipython.
Re:Bpython is a fancy interface to the Python interpreter by sambe on Sunday May 20, 2012 @10:42PM (#4001017)
I have had good experiences with ipython inside virtualenv, what's the problem?
Re:Bpython is a fancy interface to the Python interpreter by glesica on Monday May 21, 2012 @12:13AM (#4001250)
Just that "pip install ipython" has never worked properly for me when I'm inside an virtuelenv. I just tried it and it worked, so maybe the problem was fixed in the year or two since I last tried it, or maybe I was broken but have been fixed in the last couple years...
Re:Bpython is a fancy interface to the Python interpreter by slewis on Monday May 21, 2012 @01:02AM (#4001363)
You have to "easy_install readline" into your virtualenv along with "pip install ipython" to get ipython's control characters working (otherwise ipython outputs what looks like garbled text). readline is easy_install'd rather than pip'd to because easy_install'd libs end up at the head of sys.path.
Re:Bpython is a fancy interface to the Python interpreter by tbatterii on Monday May 21, 2012 @06:58AM (#4002224)
i thought you only needed to do that on a mac, on linux it seems to work fine with pip install ipython
Re:Bpython is a fancy interface to the Python interpreter by takluyver on Monday May 21, 2012 @12:03PM (#4003457)
Yes, that's right. On Linux, you already have readline installed. But neither Macs nor IPython can ship with readline itself, because of the GPL, so by default you get the inferior libedit.

The Qt console doesn't require readline, but it does require Qt (and zeromq, and pygments).

Re:Bpython is a fancy interface to the Python interpreter by k_bx on Monday May 21, 2012 @03:37AM (#4001754)
maybe the problem was that you need to do pip install -U ipython ?