Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
423 Discussions

conda intelpython readline mislinked

Gilbert_F_
Beginner
759 Views

Very excited about the conda integration and it's mostly working well, but ipython seems to have been compiled against a different version of the libreadline library -- it's looking for libreadline.so.5 but conda is pulling down libreadline.so.6

A symlink works as a temporary fix

ln -s libreadline.so.6 libreadline.so.5

 

0 Kudos
3 Replies
ahmed_f_1
Novice
759 Views

Gilbert, how did you find out that it was looking for the wrong libreadline—did it tell you? I installed just the Intel Python Beta (not conda) on Linux to my user directory (not global install), and it has no readline support (arrow keys insert escape values) and IPython warns:

WARNING: Readline services not available or not loaded.
WARNING: The auto-indent feature requires the readline library

 

0 Kudos
Gilbert_F_
Beginner
759 Views

Hi Ahmed,

If you do an

import readline

you should get a more useful traceback that should tell you what version of `libreadline` it expects to find.  Then create a symlink as I mentioned above.  The readline library should be in the /lib/ subdirectory of your python install

0 Kudos
Robert_C_Intel
Employee
759 Views

Please see this post for an update. Gilbert's workaround will not work with recent versions of intel python.

0 Kudos
Reply