Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

click to hide/show revision 2
No.2 Revision

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??
click to hide/show revision 3
No.3 Revision

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??