Package: python-rpy
Version: 1.0.3-30+b3
Severity: serious
User: [email protected]
Usertags: python-import
After installing python-rpy importing the module rpy
into a python interpreter fails with the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/rpy.py", line 134, in <module>
""" % RVERSION)
RuntimeError: No module named _rpy3044
RPy module can not be imported. Please check if your rpy
installation supports R 3.4.4. If you have multiple R versions
installed, you may need to set RHOME before importing rpy. For
example:
>>> from rpy_options import set_options
>>> set_options(RHOME='c:/progra~1/r/rw2011/')
>>> from rpy import *
The vast majority of import failures is attributed to missing dependencies.
Often times that manifests as an ImportError or ModuleNotFoundError.
Typically, dependencies should be inserted by dh-python via ${python:Depends}
or ${python3:Depends}. Thus a missing dependency can be caused by incomplete
install_requires in setup.py. Sometimes a missing dependency of a dependency
is the cause, in such cases this bug should be reassigned.
Helmut