randy3k / radian

A 21 century R console
MIT License
2k stars 76 forks source link

Unable to import dplyr (GLIBCXX_3.4.29 not found) #339

Closed ZestyCat closed 2 years ago

ZestyCat commented 2 years ago

Whenever I try to import dplyr, or any tidyverse package for that matter, I get the following error relating to GLIBCXX_3.4.29. Any ideas what could be causing this? Note that I am not experiencing this error in the standard R REPL, only in radian.

r$> library(dplyr) Error: package or namespace load failed for ‘dplyr’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/usr/lib/R/library/dplyr/libs/dplyr.so': /opt/anaconda/bin/../lib/libstdc++.so.6: version 'GLIBCXX_3.4.29' not found (required by /usr/lib/R/library/dplyr/libs/dplyr.so)

ZestyCat commented 2 years ago

I figured out the problem. My pip was set to install packages into the conda site-packages directory. I just pip installed the Radian package into /usr/bin/python3 instead of my anaconda environment.