import rpy2.robjects as ro
from rpy2.robjects.packages import importr
from rpy2.robjects import pandas2ri
It raises an error:
ValueError: r_home is None. Try python -m rpy2.situation
I tried googleing but I don't find an answer. I use Linux and python3
Thank you for your help