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

conda intelpython readline mislinked

Gilbert_F_
ビギナー
1,803件の閲覧回数

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 件の賞賛
3 返答(返信)
ahmed_f_1
初心者
1,803件の閲覧回数

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_
ビギナー
1,803件の閲覧回数

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
従業員
1,803件の閲覧回数

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

返信