Comment 0 for bug 128180

Revision history for this message
sundol (hyunchul-love-me-deactivatedaccount-deactivatedaccount-deactivatedaccount) wrote :

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/python2.5/site-packages/rpy.py", line 112, in <module>
    exec("import _rpy%s as _rpy" % RVER)
  File "<string>", line 1, in <module>
ImportError: No module named _rpy2051
>>>