Thanks! Now it works with macaulay2. As for ln, I was following the directions in the install directions. I'll sort that out separately.
On Sunday, January 20, 2019 at 12:12:32 PM UTC+3, Dima Pasechnik wrote: > > > > On Sat, 19 Jan 2019 21:08 Chris Brav <chris....@gmail.com <javascript:> > wrote: > >> Unfortunately I have been unable to get sage running directly from a >> terminal on Mac. sudo ln -s /path/to/SageMath/sage /usr/local/bin/sage >> didn't work for me. >> > > Why would you need "ln"? > Can't you simply start Sage in Terminal as /path/to/SageMath/sage > > > So I click on the icon and then have a choice to open either a terminal or >> a Jupyter notebook. Once the terminal is opened, I can use it to talk to >> Macaulay 2, but not through the Jupyter notebook. >> >> Sorry for being so helpless. >> >> On Saturday, January 19, 2019 at 9:19:16 PM UTC+3, Dima Pasechnik wrote: >>> >>> 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....@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...@googlegroups.com. >>>> To post to this group, send email to sage-s...@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...@googlegroups.com <javascript:>. >> To post to this group, send email to sage-s...@googlegroups.com >> <javascript:>. >> 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.