Typo: warnigs -> warnings
Try again.
Are you using clang rather than gcc by the way ?
2014-12-13 0:19 GMT-05:00 Xinxin Peng <fred...@gmail.com>:
>
> Hi Laurent,
>
> There are still errors in other place.
>
>
> Traceback (most recent call last):
> File "setup.py", line 283, in <module>
> ri_ext = getRinterface_ext()
> File "setup.py", line 203, in getRinterface_ext
> warnigs.warn('No include specified')
> NameError: global name 'warnigs' is not defined
>
>
> Thanks,
> Xinxin
>
> On Sat, Dec 13, 2014 at 11:54 AM, Laurent Gautier <lgaut...@gmail.com>
> wrote:
>>
>> That's an error in a different place. We are progressing....
>>
>> Try again:
>> pip install https://bitbucket.org/lgautier/rpy2/get/version_2.5.x.tar.gz
>>
>> 2014-12-12 22:15 GMT-05:00 Xinxin Peng <fred...@gmail.com>:
>>
>>> Hi Lanrent,
>>>
>>> Error report still exists.
>>>
>>> Traceback (most recent call last):
>>> File "setup.py", line 280, in <module>
>>> ri_ext = getRinterface_ext()
>>> File "setup.py", line 202, in getRinterface_ext
>>> include_dirs.extend(args.I)
>>> TypeError: 'NoneType' object is not iterable
>>>
>>>
>>> Thanks a lot.
>>> Xinxin
>>>
>>> On Sat, Dec 13, 2014 at 10:49 AM, Laurent Gautier <lgaut...@gmail.com>
>>> wrote:
>>>>
>>>> Typo in the fix.
>>>>
>>>> Try a snapshot from bitbucket:
>>>>
>>>> pip install
>>>> https://bitbucket.org/lgautier/rpy2/get/version_2.5.x.tar.gz
>>>>
>>>>
>>>> 2014-12-12 21:08 GMT-05:00 Xinxin Peng <fred...@gmail.com>:
>>>>
>>>>> Hi Laurent,
>>>>>
>>>>> The newly released package still doesn't seem to work for me.
>>>>> This time I ran into different errors.
>>>>>
>>>>> Traceback (most recent call last):
>>>>> File "setup.py", line 280, in <module>
>>>>> ri_ext = getRinterface_ext()
>>>>> File "setup.py", line 190, in getRinterface_ext
>>>>> ldf = shlex.split(' '.join(rexec.cmd_config('--ldflags')))
>>>>> File "setup.py", line 134, in cmd_config
>>>>> warnings.warning("R emitting a warning: %s" % output[0])
>>>>> AttributeError: 'module' object has no attribute 'warning'
>>>>>
>>>>> Thanks a lot.
>>>>> Xinxin
>>>>>
>>>>>
>>>>> On Sat, Dec 13, 2014 at 2:07 AM, Laurent Gautier <lgaut...@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> rpy2-2.5.3 is now on Pypi. Try:
>>>>>> pip install rpy2 --upgrade
>>>>>>
>>>>>> 2014-12-12 12:48 GMT-05:00 Ian York <iay...@iayork.com>:
>>>>>>
>>>>>>> For what it's worth, I noted the same bug a couple weeks ago. In
>>>>>>> case
>>>>>>> it didn't go through, I said:
>>>>>>>
>>>>>>> I have installed rpy2 on this machine in the past and had no
>>>>>>> problems,
>>>>>>> but now I am unable to get rpy2 properly installed either using pip
>>>>>>> or
>>>>>>> source. I'm running OSX 10.9.5 (Mavericks), and R version 3.1.1
>>>>>>> (2014-07-10) -- "Sock it to Me" (Platform: x86_64-apple-darwin13.1.0
>>>>>>> (64-bit)).
>>>>>>>
>>>>>>> Both source and pip show similar errors. For example, when I try
>>>>>>>
>>>>>>> pip install
>>>>>>> https://bitbucket.org/lgautier/rpy2/get/version_2.5.x.tar.gz
>>>>>>>
>>>>>>> I get the following traceback:
>>>>>>>
>>>>>>> -------------------------------------------------
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>> File "<string>", line 17, in <module>
>>>>>>> File
>>>>>>> "/var/folders/7h/kxq84vrx6cq4mh8ycssjhzc4y2bpx0/T/pip-M_AK2m-build/setup.py",
>>>>>>> line 275, in <module>
>>>>>>> ri_ext = getRinterface_ext()
>>>>>>> File
>>>>>>> "/var/folders/7h/kxq84vrx6cq4mh8ycssjhzc4y2bpx0/T/pip-M_AK2m-build/setup.py",
>>>>>>> line 189, in getRinterface_ext
>>>>>>> ldf = shlex.split(' '.join(rexec.cmd_config('--ldflags')))
>>>>>>> File
>>>>>>> "/var/folders/7h/kxq84vrx6cq4mh8ycssjhzc4y2bpx0/T/pip-M_AK2m-build/setup.py",
>>>>>>> line 135, in cmd_config
>>>>>>> output = output.strip()
>>>>>>> AttributeError: 'list' object has no attribute 'strip'
>>>>>>> -------------------------------------------------
>>>>>>>
>>>>>>> (I used https://bitbucket.org/lgautier/rpy2/get/version_2.5.x.tar.gz
>>>>>>> because I was seeing a separate error before this, and while trying
>>>>>>> to
>>>>>>> find a solution to that one I saw the suggestion to use
>>>>>>> https://bitbucket.org/lgautier/rpy2/get/version_2.5.x.tar.gz. That
>>>>>>> eliminated the previous error but brought in the "strip" error.)
>>>>>>>
>>>>>>> On trying to install from source (rpy2 2.5.1)
>>>>>>>
>>>>>>> I get a similar error:
>>>>>>> -------------------------------------------------
>>>>>>>
>>>>>>> ~/Downloads/rpy2-2.5.1 > python setup.py build install
>>>>>>> R version 3.1.1 (2014-07-10) -- "Sock it to Me"
>>>>>>> /Library/Frameworks/R.framework/Resources/bin/R CMD config --ldflags
>>>>>>> Traceback (most recent call last):
>>>>>>> File "setup.py", line 278, in <module>
>>>>>>> ri_ext = getRinterface_ext()
>>>>>>> File "setup.py", line 192, in getRinterface_ext
>>>>>>> ldf = shlex.split(' '.join(rexec.cmd_config('--ldflags')))
>>>>>>> File "setup.py", line 135, in cmd_config
>>>>>>> output = output.strip()
>>>>>>> AttributeError: 'list' object has no attribute 'strip'
>>>>>>>
>>>>>>> -------------------------------------------------
>>>>>>>
>>>>>>> I made a guess that the offending line should be output[0].strip()
>>>>>>> but
>>>>>>> then I got the following error:
>>>>>>>
>>>>>>> -------------------------------------------------
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>> File "setup.py", line 280, in <module>
>>>>>>> ri_ext = getRinterface_ext()
>>>>>>> File "setup.py", line 206, in getRinterface_ext
>>>>>>> include_dirs.extend(args.I)
>>>>>>> TypeError: 'NoneType' object is not iterable
>>>>>>>
>>>>>>> -------------------------------------------------
>>>>>>>
>>>>>>> Suggestions welcome.
>>>>>>>
>>>>>>> On Fri, Dec 12, 2014 at 12:33 PM, Laurent Gautier <
>>>>>>> lgaut...@gmail.com> wrote:
>>>>>>> > This might be a genuine bug.
>>>>>>> >
>>>>>>> > I opened an issue:
>>>>>>> >
>>>>>>> https://bitbucket.org/lgautier/rpy2/issue/247/error-when-getting-the-r-configuration-and
>>>>>>> >
>>>>>>> > 2014-12-12 7:21 GMT-05:00 Laurent Gautier <lgaut...@gmail.com>:
>>>>>>> >>
>>>>>>> >> Hi,
>>>>>>> >>
>>>>>>> >> This might be a bug in the install script. Consider opening an
>>>>>>> issue on
>>>>>>> >> bitbucket.
>>>>>>> >>
>>>>>>> >> Thanks,
>>>>>>> >>
>>>>>>> >> Laurent
>>>>>>> >>
>>>>>>> >> On Dec 12, 2014 3:57 AM, "Xinxin Peng" <fred...@gmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>> Hi all,
>>>>>>> >>>
>>>>>>> >>> I have been trying to install rpy2-2.5.2 on a high performance
>>>>>>> computer
>>>>>>> >>> and run into the following errors:
>>>>>>> >>>
>>>>>>> >>> Traceback (most recent call last):
>>>>>>> >>> File "setup.py", line 275, in <module>
>>>>>>> >>> ri_ext = getRinterface_ext()
>>>>>>> >>> File "setup.py", line 189, in getRinterface_ext
>>>>>>> >>> ldf = shlex.split(' '.join(rexec.cmd_config('--ldflags')))
>>>>>>> >>> File "setup.py", line 135, in cmd_config
>>>>>>> >>> output = output.strip()
>>>>>>> >>> AttributeError: 'list' object has no attribute 'strip'
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> The python version is python2.7. And the R version is R3.1.1.
>>>>>>> >>>
>>>>>>> >>> Any suggestion is welcome.
>>>>>>> >>>
>>>>>>> >>> Thanks a lot.
>>>>>>> >>>
>>>>>>> >>> Best,
>>>>>>> >>> Xinxin
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>>>>> >>> from Actuate! Instantly Supercharge Your Business Reports and
>>>>>>> Dashboards
>>>>>>> >>> with Interactivity, Sharing, Native Excel Exports, App
>>>>>>> Integration & more
>>>>>>> >>> Get technology previously reserved for billion-dollar
>>>>>>> corporations, FREE
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>>>>> >>> _______________________________________________
>>>>>>> >>> rpy-list mailing list
>>>>>>> >>> rpy-list@lists.sourceforge.net
>>>>>>> >>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>>>>>>> >>>
>>>>>>> >
>>>>>>> >
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>>>>> > from Actuate! Instantly Supercharge Your Business Reports and
>>>>>>> Dashboards
>>>>>>> > with Interactivity, Sharing, Native Excel Exports, App Integration
>>>>>>> & more
>>>>>>> > Get technology previously reserved for billion-dollar
>>>>>>> corporations, FREE
>>>>>>> >
>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>>>>> > _______________________________________________
>>>>>>> > rpy-list mailing list
>>>>>>> > rpy-list@lists.sourceforge.net
>>>>>>> > https://lists.sourceforge.net/lists/listinfo/rpy-list
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Ian York (iay...@iayork.com) <http://www.iayork.com/>
>>>>>>> "-but as he was a York, I am rather inclined to suppose him a
>>>>>>> very respectable Man." -Jane Austen, The History of England
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>>>>> from Actuate! Instantly Supercharge Your Business Reports and
>>>>>>> Dashboards
>>>>>>> with Interactivity, Sharing, Native Excel Exports, App Integration &
>>>>>>> more
>>>>>>> Get technology previously reserved for billion-dollar corporations,
>>>>>>> FREE
>>>>>>>
>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>>>>> _______________________________________________
>>>>>>> rpy-list mailing list
>>>>>>> rpy-list@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>>>>>>>
>>>>>>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list