Hi Keith, On 18 July 2006 at 12:35, Keith Hellman wrote: | Package: python-rpy | Version: 0.99.2-4 | Severity: important | | The rpy python modules appear to be installed into the pycentral | tree, but they are not linked to the pythonX.Y/site-packages | directories.
Do they have to be? Is that specified somewhere? As far as I can see, this just works: [EMAIL PROTECTED]:~> python Python 2.3.5 (#2, Jun 13 2006, 23:12:55) [GCC 4.1.2 20060613 (prerelease) (Debian 4.1.1-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from rpy import * RHOME= /usr/lib/R RVERSION= 2.3.1 RVER= 2031 RUSER= /home/edd Loading Rpy version 2031 .. Done. Creating the R object 'r' .. Done >>> The supplied examples chisqure.py and animation.py [ in python-rpy-doc ] still work... This is on my current testing box: [EMAIL PROTECTED]:~> dpkg -l python python-central python-rpy python-numeric| grep ^ii | cut -c-78 ii python 2.3.5-11 An interactive high-level object-oriented la ii python-central 0.5.1 register and build utility for Python packag ii python-numeric 24.2-5 Numerical (matrix-oriented) Mathematics for ii python-rpy 0.99.2-4 Python interface to the GNU R language and e which appear to be the same packages as you have. So I think I would need you to ask you to show me where this is a bug, esp. one of Severity: important. Right now I don't see it. | I assume that they need to be symlinked by pycentral, that is what | seems to happen with Numeric (which works). Not being a debian | developer, I'm not really able to make heads or tails of the Debian | Python Policy. I downloaded the source to the python-rpy package, | but found all the ``How to Use pycentral'' steps seemingly done. | So I'm sorta at the stopping point of my knowledge and abilities. In a case like this, wouldn't it be better to first inquire about the situation at hand, either on the debian-python list, or with the respective maintainer. [ I can't help much here, I am much more familiar with R than with Python ... ] Regards, Dirk | The python-rpy modules per-se work AOK (see below), I just have to add | the pycentral path to my PYTHONPATH (this is my workaround). | | ===================== | == terminal session== | ===================== | ssh-agent site-packages$ pwd | /usr/share/pycentral/python-rpy/site-packages | ssh-agent site-packages$ ls | rpy.py rpy_io.py rpy_options.py rpy_tools.py rpy_version.py | rpy_wintools.py | ssh-agent site-packages$ ls -ld | /usr/lib/python*/site-packages/{_rpy*,rpy*} | ls: /usr/lib/python*/site-packages/rpy*: No such file or directory | -rw-r--r-- 1 root root 32592 Jun 20 19:23 | /usr/lib/python2.3/site-packages/_rpy2031.so | -rw-r--r-- 1 root root 32592 Jun 20 19:23 | /usr/lib/python2.4/site-packages/_rpy2031.so | ssh-agent site-packages$ python -V | Python 2.3.5 | ssh-agent site-packages$ python | Python 2.3.5 (#2, Jun 13 2006, 23:12:55) | [GCC 4.1.2 20060613 (prerelease) (Debian 4.1.1-4)] on linux2 | Type "help", "copyright", "credits" or "license" for more information. | >>> import rpy | RHOME= /usr/lib/R | RVERSION= 2.3.1 | RVER= 2031 | RUSER= /home/khellman | Loading Rpy version 2031 .. Done. | Creating the R object 'r' .. Done | >>> | ssh-agent site-packages$ cd ../ | ssh-agent python-rpy$ python | Python 2.3.5 (#2, Jun 13 2006, 23:12:55) | [GCC 4.1.2 20060613 (prerelease) (Debian 4.1.1-4)] on linux2 | Type "help", "copyright", "credits" or "license" for more information. | >>> import rpy | Traceback (most recent call last): | File "<stdin>", line 1, in ? | ImportError: No module named rpy | >>> | | | -- System Information: | Debian Release: testing/unstable | APT prefers testing | APT policy: (500, 'testing') | Architecture: i386 (i686) | Shell: /bin/sh linked to /bin/bash | Kernel: Linux 2.6.13-rc6 | Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) | | Versions of packages python-rpy depends on: | ii libc6 2.3.6-15 GNU C Library: Shared libraries | ii python 2.3.5-11 An interactive high-level object-o | ii python-central 0.5.1 register and build utility for Pyt | ii python-numeric 24.2-5 Numerical (matrix-oriented) Mathem | ii r-base-core 2.3.1-1 GNU R core of statistical computin | | python-rpy recommends no packages. | | -- no debconf information | -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]