python-rpy installation issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpy (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-rpy
I seem to have found two possible issues with the python-rpy package
on Ubuntu 7.04 Feisty Fawn (latest update as of 03/01/2007):
1) The package installs version _rpy2040.so of the library to
/usr/lib/
_rpy2041.so.
Here's the error output:
>>> import rpy
RHOME= /usr/lib/R
RVERSION= 2.4.1
RVER= 2041
RUSER= /home/ctw
Loading Rpy version 2041 ..
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 _rpy2041
$ ls /usr/lib/
/usr/lib/
$ ls /usr/lib/
/usr/lib/
2) rpy.py and the other rpy-related .py files get installed to
/usr/share/
site-packages directories.
This means that you have to modify your PYTHONPATH before you can
import rpy from python, which seems like a problem.
Please let me know if I should contact the rpy developers directly or
you need more information.
ProblemType: Bug
Date: Thu Mar 1 16:12:27 2007
DistroRelease: Ubuntu 7.04
Uname: Linux kahamac1 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux
Same probleme here.
I found a similar bug in debian here: http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 404636
It was apperently fixed:
Severity: important;
Found in version rpy/1.0~rc1-2;
Fixed in version rpy/1.0~rc1-4 by Dirk Eddelbuettel <email address hidden>;