PythonAnywhere Forums

Rpy2 does not load in Python3.5 Jupyter notebook

If I try running:

%load_ext rpy2.ipython

in a python 3,5 Jupyter noebooke I get the error message:

TypeError: type 'rpy2.rinterface.StrSexpVector' is not an acceptable base type

Anyone know the fix?

This is a known issue at the moment. The version of Rpy that we have installed is not compatible with the version of Jupyter notebooks that we have installed. The dependencies make it difficult and weird for us to upgrade, but we're trying to work out how to get it done.

what is the status of this fix?

no update as yet i'm afraid.