Message Boards Message Boards

Call Mathematica functions from SageMath?

Posted 2 years ago

Hi, I apologize if I use a tag that does not match the question (this is my first time using this forum).

I am trying to configure the command line as requested by sagemath. The goal is to be able to use Mathematica code from latex.

I need configure this

enter image description here

Posted 2 years ago

Hi Alejandro,

Those instructions seem out of date, math has been superseded by wolframscript unless you are running a pretty old version of Mathematica.

Open a shell (Terminal or iTerm on MacOS, cmd on Windows) and type math. If you see something like

Wolfram Language 12.3.1 Engine for Mac OS X ARM (64-bit) Copyright 1988-2021 Wolfram Research, Inc.

In

then it should work.

If you do not see that output, try wolframscript. If that works you will need to create an alias so math is equivalent to wolframscript. How to do that depends on what OS you are running.

Note: I know nothing about SageMath.

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract