On Fri, May 28, 2010 at 3:33 PM, VictorMiller <[email protected]> wrote:
> More data:  If I start sage and then type
>
> !magma
>
> it starts up Magma.  I then exit from it (by typing "exit;") and start
> the notebook.
>
> However, if I try to run magma from the notebook, I get the message
>
> "Type Error: unable to start magma"
>
> What's going on?

What happens if you do this on the command line:

  sage: magma.eval('2+2')

What happens if you type this in a notebook cell:

  sage: os.system('magma')

William

>
> Victor
>
> On May 28, 2:11 pm, William Stein <[email protected]> wrote:
>> On Fri, May 28, 2010 at 11:03 AM, VictorMiller <[email protected]> 
>> wrote:
>> > I have magma and sage 4.4.1 installed on my macbook pro.  I've made
>> > sure that the magma command is on my PATH.  Yet when I run sage, and I
>> > try and call to magma.eval, it says that it can't find magma.  This
>> > has worked without problem on my linux workstation at work.  So what
>> > needs to be done to have sage find my installation of magma?  The page
>> >http://www.sagemath.org/doc/reference/sage/interfaces/magma.html
>> > doesn't say anything about this.
>>
>> > Victor
>>
>> Start sage and type
>>
>>    sage: !magma
>>
>> What happens?
>>
>>
>>
>> > --
>> > 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 
>> > athttp://groups.google.com/group/sage-support
>> > URL:http://www.sagemath.org
>>
>> --
>> William Stein
>> Professor of Mathematics
>> University of Washingtonhttp://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-support
> URL: http://www.sagemath.org
>



-- 
William Stein
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-support
URL: http://www.sagemath.org

Reply via email to