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?

-- 
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

Reply via email to