Hi, I guess your Python is 2.4 or older ? The complaint you see in the stacktrace is caused by Pythons verion of the ternary operator, see http://stackoverflow.com/questions/394809/ternary-conditional-operator-in-python#394814
which was introduced in 2.5. Regards, Uwe Am 18.11.2013 02:18, schrieb Hodgess, Erin: > Hi RPy2 People: > > I'm trying to install Rpy2 on a Centos 5 system. > Actually, I had it installed, but want to upgrade it to > match R-3.0.2. So this is what I have: > > pip-python install rpy2 > Downloading/unpacking rpy2 > Downloading rpy2-2.3.8.tar.gz (185Kb): 185Kb downloaded > Running setup.py egg_info for package rpy2 > Traceback (most recent call last): > File "<string>", line 14, in ? > File "/usr/build/rpy2/setup.py", line 13 > default_lib_directory = 'bin' if > sys.platform=='win32' else 'lib' > ^ > SyntaxError: invalid syntax > Complete output from command python setup.py egg_info: > Traceback (most recent call last): > > File "<string>", line 14, in ? > > File "/usr/build/rpy2/setup.py", line 13 > > default_lib_directory = 'bin' if sys.platform=='win32' > else 'lib' > > ^ > > SyntaxError: invalid syntax > > ---------------------------------------- > Command python setup.py egg_info failed with error code 1 > Storing complete log in /root/.pip/pip.log > root@erinminfo [/usr]# > > Do you have any suggestions, please? > > Thanks in advance, > Sincerely, > Erin Hodgess > > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > > > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list -- Dr. rer. nat. Uwe Schmitt Leitung F/E Mathematik mineway GmbH Gebäude 4 Im Helmerswald 2 66121 Saarbrücken Telefon: +49 (0)681 8390 5334 Telefax: +49 (0)681 830 4376 uschm...@mineway.de www.mineway.de Geschäftsführung: Dr.-Ing. Mathias Bauer Amtsgericht Saarbrücken HRB 12339
0x4D5FB678.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list