How do you start Jupyter? I believe that if you start it via terminal
command "sage -n" then you will get exactly the same Sage environment in
Jupyter as you get at Sage's prompt.


On Sat, 19 Jan 2019 18:10 Chris Brav <chris.i.b...@gmail.com wrote:

> I like to use a jupyter notebook for sage, but also want to use a bit of
> macaulay2 at the same, using the sage interface. In a sage terminal,
>
> macaulay2('2+2')
>
> returns 4 as expected, but in a jupyter notebook I get an error, the end
> of which reads
>
> TypeError: unable to start macaulay2 because the command 'M2 --no-debug 
> --no-readline --silent -e \'ZZ#{Standard,Core#"private 
> dictionary"#"InputPrompt"} = lineno -> "_EGAS_ : ";ZZ#{Standard,Core#"private 
> dictionary"#"InputContinuationPrompt"} = lineno -> "_EGAS_ : ";printWidth = 
> 0;lineNumber = 10^9;\'' failed: The command was not found or was not 
> executable: M2.
>
>
> Any advice? Presumably I have to tell jupyter how see macaulay2...
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to