Hi Gilles,

It's ok now. The reason I was getting many errors is because I copied tree
folder to a new place and there are some dependency issues. I extracted the
whole sklearn zip file and I only get several errors because void init
function (for splitter) in _tree.pxd is declared without except * and the
definitions are with except*.

By fixing this, I can compile with cythin 0.22.

Thanks,

On Mon, Feb 23, 2015 at 5:56 PM, Gilles Louppe <g.lou...@gmail.com> wrote:

> Thanks for the report. I can indeed reproduce the issue -- _tree.pyx
> does no longer compile with Cython 0.22.
>
> (The current _tree.c code was compiled with an older version of Cython.)
>
> On 23 February 2015 at 07:02, Zay Maung Maung Aye <zmm...@gmail.com>
> wrote:
> > Hi Everyone,
> >
> > I downloaded the sklearn from github and I'm compiliing _tree.pyx with
> > Cython 0.22 because I need to modify some of the code later.
> >
> > I'm getting GIL errors on almost every line in the current _tree.pyx
> that I
> > downloaded. I would like to know how I can solve the problem. I would
> like
> > to know how current _tree.c is obtained as I could not compile it. I'm
> new
> > to Cython and I would like to the errors are due to Cython version or
> > _tree.pyx is not a complete file.
> >
> > Thank you very much.
> >
> > Regards,
> >
> > --
> > *孟泽*
> > Meng Ze ( Zay Maung Maung Aye)
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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=190641631&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Scikit-learn-general mailing list
> > Scikit-learn-general@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >
>
>
> ------------------------------------------------------------------------------
> 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=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>



-- 
*孟泽*
Meng Ze ( Zay Maung Maung Aye)
------------------------------------------------------------------------------
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=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to