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.
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.
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
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]