Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Gilbert_F_
Beginner
202 Views

conda intelpython readline mislinked

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
202 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

 

Gilbert_F_
Beginner
202 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

Robert_C_Intel
Employee
202 Views

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

Reply