[yt-users] yt update problem (ramses?)

Matthew Turk matthewturk at gmail.com
Tue May 24 18:53:08 PDT 2011


Hi Molly,

This looks like a Cython problem.  Try upgrading that:

pip install -U cython

(or maybe Cython, I forget now.)

and then re-running the yt instinfo command.  The error is actually
because Cython doesn't recognize the decorator, which is very odd
since Cython has had it for quite some time.

-Matt

On Tue, May 24, 2011 at 7:50 PM, Molly Peeples <molly at astro.ucla.edu> wrote:
> Hi,
>
> I just tried updating to the latest version of yt [173a08b2e892 (yt)
> tip] on triton, but I'm getting:
> cythonc:> build/src.linux-x86_64-2.6/yt/frontends/ramses/_ramses_reader.cpp
>
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
>            tr[0,i] = self.left_edge[i]
>            tr[1,i] = self.right_edge[i]
>            tr[2,i] = self.dimensions[i]
>        return tr
>
> @cython.cdivision
> ^
> ------------------------------------------------------------
>
> /home/molly-ucla/yt-x86_64/src/yt-hg/yt/frontends/ramses/_ramses_reader.pyx:865:0:
> Cdef functions cannot take arbitrary decorators.
> error: 1 errors while compiling
> 'yt/frontends/ramses/_ramses_reader.pyx' with Cython
>
> Any ideas what I need to do?
>
> Thanks,
> --Molly
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list