can not import rpy: RuntimeError: No module named _rpy2092
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpy (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
i want to use rpy with ubuntu karmic. The error is easy to reproduce:
tom@pina:~$ python
Python 2.6.2+ (release26-maint, Sep 13 2009, 21:24:39)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
""" % RVERSION)
RuntimeError: No module named _rpy2092
RPy module can not be imported. Please check if your rpy
installation supports R 2.9.2. 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(
>>> from rpy import *
>>>
the solution for this bug is here:
https:/ /bugs.launchpad .net/ubuntu/ +source/ rpy/+bug/ 223777/ comments/ 5