Closed ScienceComputing closed 9 months ago
The error happens before the import anndata2ri
. Please check out the rpy2 issue tracker, e.g. https://github.com/rpy2/rpy2/issues/1068
The error happens before the
import anndata2ri
. Please check out the rpy2 issue tracker, e.g. rpy2/rpy2#1068
Thank you so much for the help!
I hope you could find help about avoiding it there!
Hi,
in Google colab, the following error pops up: NotImplementedError: 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.Code:
Error:
Look forward to learning your insights! Many thanks!