I am using Anaconda on Ubuntu 20.04.
I have installed rpy2 with conda install rpy2 in a virtual enviroment (different from base)
When I want to run from rpy2.rinterface import RRuntimeError I get the next error:
from rpy2.rinterface import RRuntimeError
ImportError: cannot import name 'RRuntimeError' from 'rpy2.rinterface' (/home/myuser/anaconda3/envs/myenvorment/lib/python3.7/site-packages/rpy2/rinterface.py)
conda list -n myenvorment rpy2? - cel