ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 08 Jan 2014 00:58:50 -0600How to get the same environment in "sage -ipython notebook" as in "sage"?https://ask.sagemath.org/question/10894/how-to-get-the-same-environment-in-sage-ipython-notebook-as-in-sage/If I start the command line version of sage with **sage** and type
integrate(x^2,x)
I get
1/3*x^3
as desired.
<br>
However, if I start sage in IPython's notebook with **sage -ipython notebook** and type the same thing I get
NameError: name 'integrate' is not defined
Trying to fix this by defining some prerequisites
from sage.all import *
,var x
I now get
RuntimeError: Use ** for exponentiation, not '^', which means xor
in Python, and has the wrong precedence.
<br>
**In other words, it is clear that *sage -ipython notebook* does not provide the same environment as *sage*.**
<h1>How can I fix this? I just want an IPython notebook that works like my sage command line.</h1>testtest2Wed, 08 Jan 2014 00:58:50 -0600https://ask.sagemath.org/question/10894/is it possible to run a sage in ipython notebook?https://ask.sagemath.org/question/10666/is-it-possible-to-run-a-sage-in-ipython-notebook/I want run some sage commands in ipython notebook (in cloud.sagemath.com), is it possible?
And the same question but local, i.e., using ipython notebook via canopy and insert some command of sage.
Thanks.hsigristSun, 27 Oct 2013 15:28:21 -0500https://ask.sagemath.org/question/10666/