Hello Justin

thanks for this.

(I'm a linux user but currently getting to know macosx).

$SAGE_ROOT was null, but I can run it from the commandline by changing
to Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/
and running ./sage.

And the integral() command seems to work but I have other problems:


wt118:/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage%
./sage
----------------------------------------------------------------------
| Sage Version 4.7.1, Release Date: 2011-08-11                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: 2+2
4
sage: integral(x^2,x)
1/3*x^3
sage: quit()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/<ipython
console> in <module>()

TypeError: 'str' object is not callable



I'm beginning to think I should reinstall from scratch (or indeed
compile my own).

best wishes

Robin






On Mon, Sep 5, 2011 at 9:40 AM, Justin C. Walker <jus...@mac.com> wrote:
>
> On Sep 4, 2011, at 14:02 , robin hankin wrote:
>
>> Hi.
>>
>> thanks for this.
>>
>> @justin:  how do I run sage from the command line?  I  use the
>> precompiled version and am unsure how commandline sage works.
>
> You open a Terminal window, first, and make sure that window has focus.
>
> Next, switch to the directory containing the precompiled version (referred to 
> by the cognoscenti as $SAGE_ROOT):
>
>  $ cd $SAGE_ROOT
>
> (replacing "$SAGE_ROOT" with "/path/to/directory/containing/sage") (without 
> the "'s :-})
>
> Then, type
>  $ ./sage
>
> From there, you should see a banner, announcing the version number and other 
> niceties, and the sage prompt:
>  sage:
>
> From here, it's much like using the notebook, except you don't have cells, 
> you just type "return" when done, and you do have "readline" functionality 
> (using "emacs" key bindings).  I assume you know what all that jargon means, 
> and have some familiarity with shell usage.  If not, ask here for more 
> pointers, or do a little googling :-}
>
> HTH
>
> Justin
>
> --
> Justin C. Walker, Curmudgeon at Large
> Institute for the Absorption of Federal Funds
> -----------
> My wife 'n kids 'n dogs are gone,
> I can't get Jesus on the phone,
> But Ol' Milwaukee's Best is my best friend.
> -----------
>
>
> --
> 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
>



-- 
Robin Hankin
Uncertainty Analyst
hankin.ro...@gmail.com

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