The setup script meets something unexpected regarding the R version.
What does "R --version" return ?

On 2011-08-01 04:45, Peng Lian wrote:
Hi,
When I build rpy2.2.2 using the command "python setup.py build", I have got some errors ,that is, AttributeError: 'NoneType' object has no attribute 'groups'. Please tell me how to solve this.

I use archlinux, the system information: Linux Archlinux 2.6.39-ARCH #1 SMP PREEMPT Sat Jul 9 14:57:41 CEST 2011 x86_64 Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux.

The python version is Python 3.2.1. And the details of traceback information are as follows:

Traceback (most recent call last):
File "setup.py", line 432, in <module>
[os.path.join('doc', 'source', 'rpy2_logo.png')])],
File "/usr/lib/python3.2/distutils/core.py", line 150, in setup
dist.run_commands()
File "/usr/lib/python3.2/distutils/dist.py", line 919, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.2/distutils/dist.py", line 938, in run_command
cmd_obj.run()
File "/usr/lib/python3.2/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python3.2/distutils/cmd.py", line 315, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.2/distutils/dist.py", line 937, in run_command
cmd_obj.ensure_finalized()
File "/usr/lib/python3.2/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'




------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey


_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to