I agree that $HOME/.local/lib/python2.6/site-packages gets automatically 
added to sys.path if it exists:

[vbraun@volker-desktop ~]$ mkdir -p .local/lib/python2.6/site-packages
[vbraun@volker-desktop ~]$ sage
----------------------------------------------------------------------
| Sage Version 4.6.2.alpha3, Release Date: 2011-01-29                |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
**********************************************************************
*                                                                    *
* Warning: this is a prerelease version, and it may be unstable.     *
*                                                                    *
**********************************************************************
sage: for p in sys.path: print p
....: 

/home/vbraun/opt/sage-4.6.2.alpha3/local/bin
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/Twisted-9.0.0-py2.6-linux-x86_64.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/zope.interface-3.6.1-py2.6-linux-x86_64.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/zope.proxy-3.6.0-py2.6-linux-x86_64.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/zope.exceptions-3.6.1-py2.6.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/zope.testing-3.9.5-py2.6.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/ZConfig-2.8.0-py2.6.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/zdaemon-2.0.4-py2.6.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/ZODB3-3.7.0-py2.6-linux-x86_64.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/Pygments-1.3.1-py2.6.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/Jinja2-2.5.5-py2.6.egg
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/SQLAlchemy-0.5.8-py2.6.egg
/home/vbraun/opt/sage-4.6.2.alpha3/devel/sagenb-main
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/Sphinx-1.0.4-py2.6.egg
/home/vbraun/opt/sage-4.6.2.alpha3/local/bin
/home/vbraun/Sage/sage/local/lib/python
/home/vbraun/Sage/sage/local/lib/python26.zip
/home/vbraun/Sage/sage/local/lib/python2.6/plat-linux2
/home/vbraun/Sage/sage/local/lib/python2.6/lib-tk
/home/vbraun/Sage/sage/local/lib/python2.6/lib-old
/home/vbraun/Sage/sage/local/lib/python2.6/lib-dynload
/home/vbraun/.local/lib/python2.6/site-packages
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/PIL
/home/vbraun/Sage/sage/local/lib/python2.6/site-packages/IPython/Extensions
/home/vbraun/.sage/ipython

In principle thats fine since you might actually want to add your 
personalizations there. But the big issue is that IPython/Extensions ends up 
*after* .local/lib/python2.6/site-packages. So its no surprise that your 
ipython breaks sage's ipython.

Can you create a trac ticket for this issue? Then we can work there on 
getting the path order right.

Volker

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

Reply via email to