aclew / EAF_builder_scripts

Repository for scripts that make eaf files for the Random Sampling and High-Volubility ACLEW datasets
3 stars 1 forks source link

rpy2 as a crucial dependency? #4

Open alecristia opened 4 years ago

alecristia commented 4 years ago

I'm trying to run

$ python3 main1.py ~/Dropbox/laac-solis/ ~/Dropbox/laac-solis/eaf/ periodic -t 1 --skip 59 --c_on 2 --c_off 3 --temp non-native --its n

or equivalently

$ python3 main1.py ~/Dropbox/laac-solis/ ~/Dropbox/laac-solis/eaf/ periodic -t 1 --skip 59 --c_on 2 --c_off 3 --temp non-native 

but I get an error because rpy2 is not installed -- this is true, rpy2 installation fails "clang: error: unsupported option '-fopenmp'". I'm working on it (it looks like this has to do with the R version installed), but also wondering -- we only need rpy2 if the person asks for its's to be processed, right? Could we perhaps only require rpy2 when --its is passed?

alecristia commented 4 years ago

rpy2 installation solved following this advice: https://stackoverflow.com/questions/52361732/installing-rpy2-on-macos

env CC=/usr/local/Cellar/gcc/8.2.0/bin/gcc-8 pip install rpy2