Bug 1: python setup.py install does not work with Python versions prior to 2.6, because of dependency on function namedtuple from module collections.
Bug 2: python setup.py install yields the following error:
sh: Could not contact display on/bin/R: No such file or directory
Traceback (most recent call last):
File "setup.py", line 441, in <module>
[os.path.join('doc', 'source', 'rpy2_logo.png')])],
File "/software/python-2.7.3/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/software/python-2.7.3/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/software/python-2.7.3/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/software/python-2.7.3/lib/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
File "/software/python-2.7.3/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/software/python-2.7.3/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/software/python-2.7.3/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/software/python-2.7.3/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/software/python-2.7.3/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()
File "/software/python-2.7.3/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "setup.py", line 144, in finalize_options
rversion = get_rversion(r_home)
File "setup.py", line 186, in get_rversion
rversion = m.groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
Anonymous
Thanks for the report.
Bug 1: Python < 2.6 is unfortunately not supported. I would encourage you to update. If not you will have to rely on an older version of rpy2.
Bug 2: This is the first time I see this error. What does give "which R" in a shell ?
Two notes:
- Please report only one bug per report (it makes the tracking easier)
- The bitbucket site is where I am mostly active regarding bugs. There might still be indications floating around that bugs can be reported on SF, I have to correct them.