[英]Getting Segmentation fault Core dumped error while importing robjects from rpy2
[英]Segmentation fault while importing ggplot in python via rpy2
我在python中運行以下命令:
from rpy2.robjects.packages import importr
importr( 'ggplot2' )
這在python-2.7.6和rpy2-2.8.3。中正常工作 但是,在python-2.7.8和rpy2-2.8.5上運行時,會出現以下錯誤:
/usr/local/lib/python2.7/dist-packages/rpy2/rinterface/__init__.py:186: RRuntimeWarning: Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/usr/local/lib/R/site-library/Rcpp/libs/Rcpp.so':
/usr/local/lib/R/site-library/Rcpp/libs/Rcpp.so: undefined symbol: R_ClassSymbol
warnings.warn(x, RRuntimeWarning)
Segmentation fault (core dumped)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.