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
   sage problem.spyx
fails with
   Traceback (most recent call last):
   ...
   ImportError: cannot import name ZZ

What can I do to make it work?

import sage.all first.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to