On Thu, May 7, 2009 at 9:05 AM, Jason Grout <jason-s...@creativetrax.com> wrote: > > Jaap Spies wrote: >> Mike Hansen wrote: >> >> Hi Mike >> [...] >>> If you want to try the code out, there is an spkg and two patches in >>> http://sage.math.washington.edu/home/mhansen/symbolics/. These should >>> install and apply cleanly to Sage 3.4.2. >>> >> >> I tried applying to sage-3.4.2, got: >> [j...@paix sage-3.4.2]$ ./sage >> ---------------------------------------------------------------------- >> | Sage Version 3.4.2, Release Date: 2009-05-04 | >> | Type notebook() for the GUI, and license() for information. | >> ---------------------------------------------------------------------- >> --------------------------------------------------------------------------- >> ImportError Traceback (most recent call last) >> >> /home/jaap/downloads/sage-3.4.2/local/lib/python2.5/site-packages/IPython/ipmaker.pyc >> in force_import(modname) >> 64 reload(sys.modules[modname]) >> 65 else: >> ---> 66 __import__(modname) >> 67 >> 68 >> >> /home/jaap/downloads/sage-3.4.2/local/bin/ipy_profile_sage.py in <module>() >> 5 preparser(True) >> 6 >> ----> 7 import sage.all_cmdline >> 8 sage.all_cmdline._init_cmdline(globals()) >> 9 >> >> /home/jaap/downloads/sage-3.4.2/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) >> >> /home/jaap/downloads/sage-3.4.2/local/lib/python2.5/site-packages/sage/all.py >> in <module>() >> 90 from sage.functions.all import * >> 91 >> ---> 92 import sage.symbolic.pynac # This must come before Calculus -- it >> initializes the Pynac library. >> 93 from sage.calculus.all import * >> 94 from sage.server.all import * >> >> ImportError: libpynac-0.1.so.2: cannot open shared object file: No such file >> or directory >> Error importing ipy_profile_sage - perhaps you should run %upgrade? >> WARNING: Loading of ipy_profile_sage failed. >> >> What's wrong? >>
Delete constants.so: $ rm devel/sage/build/lib.macosx-10.3-i386-2.5/sage/symbolic/constants* $ rm devel/sage/build/temp.macosx-10.3-i386-2.5/sage/symbolic/constants* $ rm devel/sage/build/sage/symbolic/constants.so Then teragon:sage-3.4.2 wstein$ sage ---------------------------------------------------------------------- | Sage Version 3.4.2, Release Date: 2009-05-05 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: f = expand((sin(x)+cos(x^2))^3); f # no pause while maxima starts sin(x)^3 + 3*sin(x)^2*cos(x^2) + 3*sin(x)*cos(x^2)^2 + cos(x^2)^3 sage: type(f) <type 'sage.symbolic.expression.Expression'> sage: Exiting SAGE (CPU time 0m0.10s, Wall time 0m5.37s). # no maxima shutting down -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---