Bonjour à tous,
hello world, c'est la première fois que je mets les pieds dans le forum python 
Je suis en train d'installer le module rpy, du moins j'essaye
J'obtiens l'erreur suivante :
1 2 3 4 5 6 7 8 9 10 11 12
|
python setup.py install
RHOMES= []
DEBUG= True
Setting RHOMES to ['/usr/local/lib/R']
Traceback (most recent call last):
File "setup.py", line 109, in <module>
RVERSION = rpy_tools.get_R_VERSION(RHOME, force_exec=True)
File "/home/bmasson/rpy-1.0.3/rpy_tools.py", line 103, in get_R_VERSION
raise RuntimeError("Couldn't obtain version number from output\n"
RuntimeError: Couldn't obtain version number from output
of `R --version'. |
J'ai suivi le README et effectué les instructions préconisées mais en vain :
1 2 3 4 5 6 7 8 9 10 11
|
Then, configure the path to the R library. You have several ways to do
this (substitute RHOME with the path where R is installed, usually
/usr/local/lib/R):
o make a link to RHOME/bin/libR.so in /usr/local/lib or /usr/lib, then
run 'ldconfig',
o or, put the following line in your .bashrc (or equivalent):
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:RHOME/bin |
lrwxrwxrwx 1 root root 28 May 30 16:31 libR.so -> /usr/local/lib/R/lib/libR.so
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/R/bin
Pour finir :
Voici le résultat de la commande lorsque j'effectue R --version :
1 2 3 4 5
| R --version
R version 2.13.0 (2011-04-13)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i686-pc-linux-gnu (32-bit) |
Est ce que quelqu'un peut m'aider ?
merci d'avance,
ben
Partager