version mismatch between gutsy GNU R packages and python-rpy package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpy (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-rpy
When importing the rpy module (provided by the python-rpy package) there is a version mismatch between the R package and python module that prevents importing of the module.
$ python
Python 2.5.1 (r251:54863, Aug 17 2007, 18:40:36)
[GCC 4.1.3 20070812 (prerelease) (Ubuntu 4.1.2-15ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from rpy import *
RHOME= /usr/lib/R
RVERSION= 2.5.1
RVER= 2051
RUSER= /home/schalkpd
Loading Rpy version 2051 ..
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
exec("import _rpy%s as _rpy" % RVER)
File "<string>", line 1, in <module>
ImportError: dynamic module does not define init function (init_rpy2051)
The module that exists is _rpy2050, and renaming it to _rpy2051 does not solve the problem (it finds the file but brings up further errors).
This is a duplicate of bug 128180. Didn't see it before posting here.