-
Notifications
You must be signed in to change notification settings - Fork 229
rpy2 import error due to libreadline undefined symbol #152
Copy link
Copy link
Closed
Description
> conda --versionconda 3.5.5
> echo "import rpy2.robjects" > foo.py
> python foo.pyTraceback (most recent call last):
File "test.py", line 1, in <module>
import rpy2.robjects
File "/homes/horta/research/software/opt/anaconda/lib/python2.7/site-packages/rpy2/robjects/__init__.py", line 15, in <module>
import rpy2.rinterface as rinterface
File "/homes/horta/research/software/opt/anaconda/lib/python2.7/site-packages/rpy2/rinterface/__init__.py", line 100, in <module>
from rpy2.rinterface._rinterface import *
ImportError: /nfs/research2/stegle/software/opt/anaconda/bin/../lib/libreadline.so.6: undefined symbol: PC
The same does not happen if ipython is used, or if I perform the same under an interactive python session. rpy2 was installed using pip.
By the way:
> which python/homes/horta/research/software/opt/anaconda/bin/python
> which ipython/homes/horta/research/software/opt/anaconda/bin/ipython
And the following linking between folders is true: /homes/horta/research -> /nfs/research/stegle/ -> /nfs/research2/stegle/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels