Ask Your Question

Revision history [back]

Could you try the following:

Open a bash-terminal and set the following environment variable:

export SAGE_MATHEMATICA_COMMAND="/run/media/bernhardi/math/math -rawterm"

Then run SageMath from that terminal (either in console or notebook mode) and try some Mathematica command. If this works, you might add the above export command at the end of your .bashrc file.

Could you try the following:

Open a bash-terminal and set the following environment variable:

export SAGE_MATHEMATICA_COMMAND="/run/media/bernhardi/math/math -rawterm"

Then run SageMath from that terminal (either in console or notebook mode) and try some Mathematica command. If this works, you might add the above export command at the end of your .bashrc file.

Comment: I am not using Mathematica and don't have it installed on my computer; I came to this answer by taking a look at the source code of SageMath's mathematica command, which one can easily access via the double question mark:

sage: mathematica??

Could you try the following:

Open a bash-terminal and set the following environment variable:

export SAGE_MATHEMATICA_COMMAND="/run/media/bernhardi/math/math -rawterm"

Then run SageMath from that terminal (either in console or notebook mode) and try some Mathematica command. If this works, you might add the above export command at the end of your .bashrc file.

Comment: I am not using Mathematica and don't have it installed on my computer; I came to this answer by taking a look at the source code of SageMath's mathematica command, which one can easily access via the double question mark:mark (it's so nice to be open-source ;-) ):

sage: mathematica??