[IPython-dev] libreadline.so.5 missing in Canopy's IPython?

Jonathan March JDM@MarchRay....
Fri Feb 21 12:19:37 CST 2014


On Fri, Feb 21, 2014 at 12:07 PM, Prabhu Ramachandran <
prabhu@aero.iitb.ac.in> wrote:

> On 2/21/14 11:05 PM, Name Name wrote:
> > I'm (partially) using IPython also out of Enthought's Canopy
> environment. Hopefully someone on this list is familiar with that.
> >
> > I just upgraded to version 1.3.0.1715 only to find that I could not
> invoke the simple 'non-notebook' IPython shell anymore without error
> because of a missing libreadline.so.5.
> >
> > I then realized, that indeed appdata/canopy-1.3.0.1715.rh5-x86_64/lib/
> is lacking libreadline.so.5 completely(?)
> > Also I realized that strangely/luckily
> appdata/canopy-1.1.0.1371.rh5-x86_64/lib/ of the earlier version was not
> deleted during update(?)
> > Moreover the 'old' appdata/canopy-1.1.0.1371.rh5-x86_64/lib/ does
> contain libreadline.so.5
> >
> > After putting links to the 'old' libreadline.so.5 into the new
> appdata/canopy-1.3.0.1715.rh5-x86_64/lib/ the 'non-notebook' IPython shell
> starts again without error.
> >
> > Most likely all of this is not supposed to be. Does anyone have/had
> similar experiences? What am I missing here?
>
> Readline should have been installed in your user environment
> automatically after your upgrade so I am surprised it did not work for
> you.  Do you have readline installed in your User environment?  How are
> you launching IPython?  You shouldn't have to touch your
> appdata/canopy-1.3.0.1715.rh5-x86_64/lib/ and you can probably remove
> the older appdata/canopy-1.1.0.1371.rh5-x86_64/lib/ as well.  If you
> don't see readline in your environment, install it using enpkg readline.
>


To underscore Prabhu's comment: You are running the wrong ipython.
Do not run ipython (or anything else other than canopy itself) from your
installation directory.
Run them from the User environment. For more information, see:
http://docs.enthought.com/canopy/configure/faq.html#where-are-all-of-the-python-packages-in-my-user-python-environment

https://support.enthought.com/entries/23646538-Make-Canopy-User-Python-be-your-default-Python

best,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20140221/ed544df6/attachment.html 


More information about the IPython-dev mailing list