rpy import error at Gusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpy (Ubuntu) |
Fix Released
|
Medium
|
Luca Falavigna | ||
Gutsy |
Fix Released
|
Medium
|
Luca Falavigna | ||
Hardy |
Fix Released
|
Medium
|
Luca Falavigna |
Bug Description
Binary package hint: python-rpy
"import rpy" of python gives an error
How to reproduce and error message are following
****************
myid@mypc:~$ python
Python 2.5.1 (r251:54863, Jul 17 2007, 15:55:37)
[GCC 4.1.3 20070629 (prerelease) (Ubuntu 4.1.2-13ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy
RHOME= /usr/lib/R
RVERSION= 2.5.1
RVER= 2051
RUSER= /home/hckim
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: No module named _rpy2051
>>>
TEST CASE:
1) Install python-rpy
2) Open a terminal and execute python interpreter
3) Launch "import rpy" from python interpreter
4) The above traceback raises
Changed in rpy: | |
status: | New → Confirmed |
Changed in rpy: | |
assignee: | nobody → dktrkranz |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.1 |
status: | Confirmed → Triaged |
Changed in rpy: | |
milestone: | ubuntu-8.04.1 → none |
description: | updated |
Changed in rpy: | |
status: | Confirmed → Fix Committed |
status: | Confirmed → Fix Committed |
This bug happens whenever the version of R has been updated with same error message of "No module named _rpy20XX".
I hope that this problem, somehow, will be solved automatically when R has been updated.
Thanks.