Hi Zach, On Tue, Mar 16, 2010 at 12:37 PM, zsharon <[email protected]> wrote: > Hi, > > When running this code: > > K.<a> = NumberField(x^2 + 1) > K.is_galois()
The above works for me within the Sage notebook at www.sagenb.org and from the command line: [mv...@sage ~]$ sage ---------------------------------------------------------------------- | Sage Version 4.3.3, Release Date: 2010-02-21 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: K.<a> = NumberField(x^2 + 1) sage: K.is_galois() True >From the error log you posted, I gather that you installed Sage system-wide. (I assume that you know you don't need to do that in order to use Sage. Or maybe you apt-get install sagemath, in which case don't do that. Download the version of Sage at www.sagemath.org and install that instead.) The version of Python from the error log suggests that you're using a version of Sage that is many releases old. I can't work out the exact version of Sage you are using. But note that the error you reported has been fixed and the code you posted is working with Sage 4.3.3. -- Regards Minh Van Nguyen -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
