Well, some bad and good news:

The bad:
I reinstalled ubuntu (not specifically for sage, as there were other things 
I've been trying to solve for a long time, but it helped me decide to do 
it), reinstalled sage, and I get exactly the same error.

The good:
I think I am closer now to find the cause of the problem: I have ipython 
from git locally built, and thus I have PYTHONPATH defined. It seems sage is 
using my own version of ipython:

jscandal@jorges { ~/sw/sage/sage-4.6.1 }$ ./sage -python
Python 2.6.4 (r264:75706, Jan 31 2011, 12:29:16) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import IPython
>>> IPython.__file__
'/home/jscandal/sw/ipython/ipython-git/IPython/__init__.pyc'

What are the rules in sage regarding PYTHONPATH? I would have thought that 
sage would use its own version of every package. My use of PYTHONPATH is 
probably interfering so, how do I get my local ipyhton (and other modules 
and libraries) play nice with sage? Can it be configured a-posteriori? 
Thanks for any pointers.

jorges

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to