https://bugs.documentfoundation.org/show_bug.cgi?id=151603
--- Comment #16 from Paul Smith <phh...@gmail.com> --- Thanks for your cooperation. APSO console and my own Python console run the same Python binary: /usr/bin/python3 I suspect that the error does not come from uno or ScriptForge, as when I run the following code on APSO console, I get the following error: --------------------------------- >>> import uno >>> import numpy as np >>> from rpy2.robjects.packages import importr, data >>> rpart = importr('rpart') Traceback (most recent call last): File "/usr/lib64/python3.10/code.py", line 90, in runcode exec(code, self.locals) File "<console>", line 1, in <module> File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py", line 496, in importr pack = InstalledSTPackage(env, name, File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py", line 203, in __init__ self.__fill_rpy2r__(on_conflict=on_conflict) File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py", line 329, in __fill_rpy2r__ (super(SignatureTranslatedPackage, self) File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/packages.py", line 264, in __fill_rpy2r__ rpyobj = cv.rpy2py(riobj) File "/usr/lib64/python3.10/functools.py", line 889, in wrapper return dispatch(args[0].__class__)(*args, **kw) File "/home/x/.local/lib/python3.10/site-packages/rpy2/robjects/conversion.py", line 252, in _rpy2py raise NotImplementedError( NotImplementedError: Conversion 'rpy2py' not defined for objects of type '<class 'rpy2.rinterface_lib.sexp.SexpEnvironment'>' >>> --------------------------------- Running this exact same code on my own Python console, no error is returned. -- You are receiving this mail because: You are the assignee for the bug.