ImportError: /usr/local/lib/python2.7/site-packages/rpy2/rinterface/_rinterface.so: undefined symbol: rl_completer_word_break_characters

Issue #603 new
hemalatha.velusamy@gaincredit.com created an issue

Hi ,

rpy2 package version installed is ,rpy2==2.8.6

R version is R-3.5.3

python version : 2.7.10

im getting below error while trying to import rpy2.robjects / from rpy2 import robjects

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/rpy2/robjects/init.py", line 16, in <module>
import rpy2.rinterface as rinterface
File "/usr/local/lib/python2.7/site-packages/rpy2/rinterface/init.py", line 92, in <module>
from rpy2.rinterface._rinterface import (baseenv,
ImportError: /usr/local/lib/python2.7/site-packages/rpy2/rinterface/_rinterface.so: undefined symbol: rl_completer_word_break_characters

I have added the libreadline path to LD_LIBRARY_PATH and tried as mentioned in the another issue (https://bitbucket.org/rpy2/rpy2/issues/185/rpy2-rinterface-_rinterfaceso-undefined).Still im getting the same issue

Any ideas how to solve this issue ?

Thanks , Hemalatha

Comments (1)

  1. Log in to comment