Re: [sage-support] Cython spyx import problem

2016-02-22 Thread Daniel Krenn
On 2016-02-17 17:25, Dima Pasechnik wrote: > it's not related to RIF, it seems. Compilation ends with > > ImportError: cannot import name ZZ > > and even the following does not work: > > import sage.all > from sage.all import * > from sage.rings.integer_ring import ZZ > print ZZ(1000) > > -

Re: [sage-support] Cython spyx import problem

2016-02-17 Thread Dima Pasechnik
it's not related to RIF, it seems. Compilation ends with ImportError: cannot import name ZZ and even the following does not work: import sage.all from sage.all import * from sage.rings.integer_ring import ZZ print ZZ(1000) -- Broken spyx support, in general (on the l

Re: [sage-support] Cython spyx import problem

2016-02-17 Thread Daniel Krenn
On 2016-02-17 10:16, Dima Pasechnik wrote: > > > On Wednesday, February 17, 2016 at 7:26:18 AM UTC, Daniel Krenn wrote: > > On 2016-02-17 08:05, Jeroen Demeyer wrote: > > On 2016-02-17 07:33, Daniel Krenn wrote: > >> Calling this in my working directory with > >>sage problem.

Re: [sage-support] Cython spyx import problem

2016-02-17 Thread Dima Pasechnik
On Wednesday, February 17, 2016 at 7:26:18 AM UTC, Daniel Krenn wrote: > > On 2016-02-17 08:05, Jeroen Demeyer wrote: > > On 2016-02-17 07:33, Daniel Krenn wrote: > >> Calling this in my working directory with > >>sage problem.spyx > >> fails with > >>Traceback (most recent call last

Re: [sage-support] Cython spyx import problem

2016-02-16 Thread Daniel Krenn
On 2016-02-17 08:05, Jeroen Demeyer wrote: > On 2016-02-17 07:33, Daniel Krenn wrote: >> Calling this in my working directory with >>sage problem.spyx >> fails with >>Traceback (most recent call last): >>... >>ImportError: cannot import name ZZ >> >> What can I do to make it work? >

Re: [sage-support] Cython spyx import problem

2016-02-16 Thread Jeroen Demeyer
On 2016-02-17 07:33, Daniel Krenn wrote: My problem boils down to: problem.spyx from sage.rings.real_interval_field import RealIntervalField # fails RealIntervalField(100)(4.2) # not needed in minimal non-working example Calling this in my working directory with s

[sage-support] Cython spyx import problem

2016-02-16 Thread Daniel Krenn
My problem boils down to: problem.spyx from sage.rings.real_interval_field import RealIntervalField # fails RealIntervalField(100)(4.2) # not needed in minimal non-working example Calling this in my working directory with sage problem.spyx fails with Traceback (mos