On Nov 30, 2007 9:11 AM, maxj <[EMAIL PROTECTED]> wrote: > > I've installed the latest SAGE and encountered a similar-but-different > error, > this time when attempting to import module > "sage.rings.number_field.number_field_base". > From experimenting with the Python help system, it appears to me that > the download did include module "sage.rings.number_field" but not > module > "sage.rings.number_field.number_field_base". > > So as a first step I'd like to confirm that a normal download does > include module > "sage.rings.number_field.number_field_base".
Certainly it would. This is very very weird. It seems like your download may have been incomplete. Do you have this md5sum for your download? [EMAIL PROTECTED]:~/www/SAGEbin/apple_osx/powerpc$ md5sum sage-2.8.13-PowerMacintosh-Darwin.tar.gz 9bb9ca9a564e7e96c4ea4a1e68ccfd7f sage-2.8.13-PowerMacintosh-Darwin.tar.gz By the way, if you have XCode installed then building sage from source on osx ppc is usually very easy -- just download it from http://sagemath.org/dist/src/ extract the tarball, and type "make" in the directory. It's 5 million lines of code, so it takes around 2 hours to build, but the build is completely automatic. By the way, I'm building a fresh 2.8.14 binary, which I will post to http://sagemath.org/SAGEbin/apple_osx/powerpc/ in a few hours, which might help. > Thanks, Max > _________________________________________________________________________________________ > > maxmini:~/Desktop/sage-2.8.13-PowerMacintosh-Darwin max$ ./sage > ---------------------------------------------------------------------- > | SAGE Version 2.8.13, Release Date: 2007-11-21 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > --------------------------------------------------------------------------- > <type 'exceptions.ImportError'> Traceback (most recent call > last) > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/bin/ > <ipython console> in <module>() > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/lib/ > python2.5/site-packages/sage/all_cmdline.py in <module>() > 12 try: > 13 > ---> 14 from sage.all import * > 15 from sage.calculus.predefined import x > 16 preparser(on=True) > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/lib/ > python2.5/site-packages/sage/all.py in <module>() > 51 get_sigs() > 52 > ---> 53 from sage.misc.all import * # takes a while > 54 > 55 from sage.misc.sh import sh > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/lib/ > python2.5/site-packages/sage/misc/all.py in <module>() > 65 from func_persist import func_persist > 66 > ---> 67 from functional import (additive_order, > 68 sqrt as numerical_sqrt, > 69 arg, > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/lib/ > python2.5/site-packages/sage/misc/functional.py in <module>() > 31 > 32 > ---> 33 from sage.rings.complex_double import CDF > 34 from sage.rings.real_double import RDF, RealDoubleElement > 35 > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/bin/ > integer.pxd in sage.rings.complex_double() > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/bin/ > integer.pyx in sage.rings.integer() > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/lib/ > python2.5/site-packages/sage/rings/infinity.py in <module>() > 140 #import sage.rings.real_mpfr > 141 import sage.rings.integer > --> 142 import sage.rings.rational > 143 > 144 _obj = {} > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/bin/ > rational.pyx in sage.rings.rational() > > /Users/max/Desktop/sage-2.8.13-PowerMacintosh-Darwin/local/lib/ > python2.5/site-packages/sage/rings/rational_field.py in <module>() > 23 > 24 from sage.structure.parent_gens import ParentWithGens > ---> 25 import sage.rings.number_field.number_field_base as > number_field_base > 26 > 27 > > <type 'exceptions.ImportError'>: No module named number_field_base > sage: > _____________________________________________________________________________________ > > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---