Python rpy2安装和未定义符号的ImportError:PC

时间:2017-01-13 21:27:39

标签: python cython rpy2

我正在尝试在Anaconda3(python 2.7)下的CentOS版本6.6中安装rpy2。当我用两天的时间安装它时(python总是说我没有安装Cython,但实际上,我确实在系统中安装了它(解决了:unistall Cython然后重新安装))。它出现了另一个问题: ImportError:/home/user/anaconda3/lib/libreadline.so.6:未定义的符号:PC

File "InfiniumPurify.py", line 23, in <module>
import rpy2.robjects as robjects
File "/home/shg047/anaconda3/lib/python2.7/site-packages/rpy2/robjects/__init__.py", line 16, in <module>
import rpy2.rinterface as rinterface
File "/home/shg047/anaconda3/lib/python2.7/site-packages/rpy2/rinterface/__init__.py", line 92, in <module>
from rpy2.rinterface._rinterface import (baseenv,
ImportError: /home/shg047/anaconda3/lib/libreadline.so.6: undefined symbol: PC

Python版本:Python 2.7.13 :: Continuum Analytics,Inc。

Anaconda:Anaconda 3

Linux:TSCC

有任何解决此问题的建议吗?

我已经尝试过不同的方式,包括:

cp /lib64/libreadline.so.6 ~/anaconda3/lib/libreadline.so.6

0 个答案:

没有答案