On Nov 24, 2007 11:22 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Nov 24, 2007 8:29 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
> > On Oct 17, 2007 11:47 PM, Ville M. Vainio <[EMAIL PROTECTED]> wrote:
> > > Perhaps this is due to sys.path not containing Extensions yet for some
> > > reason (I'm not aware why this is not a problem on my box).
> > >
> > > To get over it quickly, change line:
> > >
> > > > python2.5/site-packages/IPython/iplib.py", line 58, in <module>
> > > >     import pickleshare
> > >
> > >
> > > to:
> > >
> > > from IPython.Extensions import pickleshare.
> >
> > Mmh, I hadn't realized this bug hadn't been fixed in trunk.  I've just
> > committed the fix as r2871.
>
> I tried updating Sage to this version of Ipython, and
> when I start sage it just immediately exits:

I should add that

  sage -ipython

which runs Ipython directly (without sage preparsing, etc.),
works fine, as does import sage.all:

rank4:standard was$ sage -ipython
Python 2.5.1 (r251:54863, Nov  2 2007, 12:50:27)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.2.svn.r2848 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: from sage.all import *

In [2]: 2/3
Out[2]: 0

In [3]: ZZ(2) / ZZ(3)
Out[3]: 2/3


>
> rank4:~ was$ sage
> ----------------------------------------------------------------------
> | SAGE Version 2.8.13, Release Date: 2007-11-21                      |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> rank4:~ was$
>
>
> I.e., I get immediately dumped to the prompt.   Do you
> have any idea why?  (I haven't tried at all to figure out why.)
>
> If anybody wants to try this, just do
>
>     wget http://sage.math.washington.edu/home/was/tmp/ipython-0.8.1.r2871.spkg
>     sage -f ipython-0.8.1.r2871.spkg
>
> then run sage.
>
> To restore the previous version of Ipython, just do
>
>     sage -f ipython-0.8.1.p1.spkg
>
>  -- William
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to