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? >
I got a similar error, but a different traceback (ubuntu 9.04, 32 bit, sage 3.4.2) $ sage ---------------------------------------------------------------------- | Sage Version 3.4.2, Release Date: 2009-05-05 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- --------------------------------------------------------------------------- ImportError Traceback (most recent call last) /home/jason/sage/local/lib/python2.5/site-packages/IPython/ipmaker.pyc in force_import(modname) /home/jason/sage/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/jason/download/sage-3.4.1/local/lib/python2.5/site-packages/sage/all_cmdline.py in <module>() /home/jason/sage/local/lib/python2.5/site-packages/sage/all.py in <module>() 92 from sage.interfaces.all import * 93 ---> 94 from sage.symbolic.all import * 95 96 from sage.functions.all import * /home/jason/sage/local/lib/python2.5/site-packages/sage/symbolic/all.py in <module>() 1 ----> 2 from ring import SR, is_SymbolicExpressionRing, is_SymbolicVariable 3 from constants import (pi, e, NaN, golden_ratio, log2, euler_gamma, catalan, 4 khinchin, twinprime, merten, brun, i, I) 5 from expression import Expression, is_Expression 6 from function import SFunction, PrimitiveFunction 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. I have the following pynac spkgs installed: ~/sage/spkg/installed$ ls | grep pynac pynac-0.1.3 pynac-0.1.6-mh I can't seem to find the file it complains about, but I find similar libraries: ~/sage$ find . -name libpynac-0.1.so.2 ~/sage$ find . -name libpynac\* ./local/lib/libpynac.la ./local/lib/libpynac-0.1.so.5 ./local/lib/libpynac-0.1.so.5.0.0 ./local/lib/libpynac.so The full log of everything I did and all the output from the installation is here: http://sage.pastebin.com/m29fd2be0 I'm looking forward to trying this! Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---