Hi I am new of rpy2, i tried to install it, but i constantly get errors.
I get something like this: D:\local\Software\python\rpy2-2.1.7\rpy2-2.1.7>python setup.py build running build running build_py running build_ext C:\R\R-2.12.0 C:\R\R-2.12.0\bin\R <_sre.SRE_Match object at 0x02429DA0> Traceback (most recent call last): File "setup.py", line 375, in <module> [os.path.join('doc', 'source', 'rpy2_logo.png')])] File "C:\Python266\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\Python266\lib\distutils\dist.py", line 975, in run_commands self.run_command(cmd) File "C:\Python266\lib\distutils\dist.py", line 995, in run_command cmd_obj.run() File "C:\Python266\lib\distutils\command\build.py", line 134, in run self.run_command(cmd_name) File "C:\Python266\lib\distutils\cmd.py", line 333, in run_command self.distribution.run_command(command) File "C:\Python266\lib\distutils\dist.py", line 994, in run_command cmd_obj.ensure_finalized() File "C:\Python266\lib\distutils\cmd.py", line 117, in ensure_finalized self.finalize_options() File "setup.py", line 112, in finalize_options config += get_rconfig(r_home, about) File "setup.py", line 267, in get_rconfig rc = RConfig.from_string(rconfig) File "setup.py", line 255, in from_string + '\nin string\n' + string) ValueError: Invalid substring in string D:\local\Software\python\rpy2-2.1.5\rpy2-2.1.5>python setup.py build running build running build_py running build_ext Traceback (most recent call last): File "setup.py", line 312, in <module> [os.path.join('doc', 'source', 'rpy2_logo.png')])] File "C:\Python266\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\Python266\lib\distutils\dist.py", line 975, in run_commands self.run_command(cmd) File "C:\Python266\lib\distutils\dist.py", line 995, in run_command cmd_obj.run() File "C:\Python266\lib\distutils\command\build.py", line 134, in run self.run_command(cmd_name) File "C:\Python266\lib\distutils\cmd.py", line 333, in run_command self.distribution.run_command(command) File "C:\Python266\lib\distutils\dist.py", line 994, in run_command cmd_obj.ensure_finalized() File "C:\Python266\lib\distutils\cmd.py", line 117, in ensure_finalized self.finalize_options() File "setup.py", line 110, in finalize_options r_libs.extend(get_rconfig(r_home, '--ldflags')[0].split()) File "setup.py", line 206, in get_rconfig raise Exception(cmd + '\nreturned\n' + rconfig) Exception: "C:\R\R-2.12.0\bin\R" CMD config --ldflags returned D:\local\Software\python\rpy2-2.1.5\rpy2-2.1.5>python -V Python 2.6.6 i tried all the combinations for {python2.6.5 , python2.6.6} {R2.10.1, R2.11.1, R2.12.0} {rpy2.15, rpy2.17, rpy_cvs2.1.x, rpycvs2.2.x} moreover, when i try C:\R\R-2.12.0\bin\R" CMD config --ldflags by hand (and the same applies to R2.11 and R2.10) i get: C:\>C:\r\r-2.10.1\BIN\R CMD config --ldflags 'sh' is not recognized as an internal or external command, operable program or batch file. i dont know what's wrong in my system.. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list