Sure! Sorry about that. I'm running Arch Linux with a sage from the i386 binary here: http://pkgbuild.com/~td123/ which is 4.5.2-5 (it's the candidate build for inclusion in the arch repos, though it hasn't been distributed *blush*).
I'd previously built it from source but had a hiccup, so I'm using that binary. It's not an official binary yet though, so I suppose there may have been a build error, but being that I can import all the modules correctly from a worksheet I figured maybe something else was different about our environments. In any case, I can rebuild from source if necessary, but so far everything has seemed to point to not having library paths being loaded from the right places in my environment to me, since like I said worksheets can load the libs fine; if you don't think so please let me know. On Aug 16, 4:30 pm, William Stein <wst...@gmail.com> wrote: > On Mon, Aug 16, 2010 at 1:22 PM, Jay <jul...@grayvines.com> wrote: > > Hi! > > > Yes, bpython is quite wonderful :). > > > If I try to `easy_install bpython` from within a sage subshell I get > > > ... (Full traceback if you'd like) > > ImportError: /opt/sage/local/lib/python2.6/lib-dynload/operator.so: > > undefined symbol: _PyUnicodeUCS4_AsDefaultEncodedString > > > which incidentally is the same error as I get if I try to change > > LD_LIBRARY_PATH from outside a subshell. If I try to run > > > % bpython > >>>> from sage.all import * > > > I get the traceback I mentioned above when running from > > sage.all_cmdline import *. > > > Traceback (most recent call last): > > File "<input>", line 1, in <module> > > File "./sage/all.py", line 56, in <module> > > from sage.rings.memory import pmem_malloc > > ImportError: No module named memory > > > Interestingly enough, I get that same error now I'm noticing if I run > > > % sage -sh > > $ python > >>>> from sage.all import * > > > I get no such error if I use worksheet mode. Running > > >>>> sage.rings.memory > > > inside a worksheet yields: > > > <module 'sage.rings.memory' from > > '/opt/sage/local/lib/python2.6/site-packages/sage/rings/memory.so'> > > > So something in my environment variables still isn't being set > > correctly. Any ideas? > > Maybe you should describe your environment. Computer? OS? Hardware? > Version of Sage? Built from source or binary? > > -- William > > -- > William Stein > Professor of Mathematics > University of Washingtonhttp://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org