Re: [Rpy] Binary installer for rpy2 on win32 is available
From: Mauro Alberti <alberti.m65@gm...> - 2012-07-19 07:53
> Hi,
> I tried to install rpy2 using this new installer (release 2.6.6), on a
> Windows Vista 32bit SP2 system, Python (x,y) 2.7.2.3 (last version).
> I got the following error messages (possibly the same as when trying to
> install rpy2 'classic').
> Any suggestions?
> Thanks,
> mauro
>
> Traceback (most recent call last):
> File
> "C:\Users\mauro\Downloads\breisfeld-rpy2_w32_fix-05c930dc1c84\breisfeld-r
> py2_w32_fix-05c930dc1c84\setup.py", line 462, in <module>
> [os.path.join('doc', 'source', 'rpy2_logo.png')])],
> File "C:\Python27\lib\distutils\core.py", line 152, in setup
> dist.run_commands()
> File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
> self.run_command(cmd)
> File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
> cmd_obj.run()
> File "C:\Python27\lib\distutils\command\install.py", line 563, in run
> self.run_command('build')
> File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
> self.distribution.run_command(command)
> File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
> cmd_obj.run()
> File "C:\Python27\lib\distutils\command\build.py", line 127, in run
> self.run_command(cmd_name)
> File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
> self.distribution.run_command(command)
> File "C:\Python27\lib\distutils\dist.py", line 971, in run_command
> cmd_obj.ensure_finalized()
> File "C:\Python27\lib\distutils\cmd.py", line 109, in ensure_finalized
> self.finalize_options()
> File
> "C:\Users\mauro\Downloads\breisfeld-rpy2_w32_fix-05c930dc1c84\breisfeld-r
> py2_w32_fix-05c930dc1c84\setup.py", line 153, in finalize_options
> config += get_rconfig(r_home, about, True)
> File
> "C:\Users\mauro\Downloads\breisfeld-rpy2_w32_fix-05c930dc1c84\breisfeld-r
> py2_w32_fix-05c930dc1c84\setup.py", line 319, in get_rconfig
> rc = RConfig.from_string(rconfig, allow_empty = allow_empty)
> File
> "C:\Users\mauro\Downloads\breisfeld-rpy2_w32_fix-05c930dc1c84\breisfeld-r
> py2_w32_fix-05c930dc1c84\setup.py", line 263, in from_string
> if (rconfig == ''):
> NameError: global name 'rconfig' is not defined
Hi mauro,
I believe that what is happening is as follows:
When the configuration for R is being determined, a call to a shell
tool is made, but this shell tool is not natively available on
Windows.
To get this tool, you may want to try installing Rtools as briefly
described here:
https://bitbucket.org/breisfeld/rpy2_w32_fix/src/137d6103a0c2/INSTALL_WINDOWS
Kind regards,
Brad
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list