Hi I am running rpy2 under the hood of a streamlit app and I’m getting the following error:
Conversion rules for `rpy2.robjects` appear to be missing. Those rules are in a Python contextvars.ContextVar. This could be caused by multithreading code not passing context to the thread.
Outside of streamlit the code runs perfectly.
How might I go about fixing this error and getting rpy2 to run using streamlit