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?
[ Parent
| on HN ]
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).