"mathematica_console()" is available (or at least it should be) when using Sage from the command-line but not from the notebook. There was a bug, now fixed in https://trac.sagemath.org/ticket/34547, that meant that this command was not available when it should have been.
On Thursday, January 19, 2023 at 2:28:38 PM UTC-8 pvit...@gmail.com wrote: > Ups, sorry about that. > > El jueves, 19 de enero de 2023 a las 22:37:16 UTC+1, Emmanuel Charpentier > escribió: > >> mathematica_console() does not indeed exist. but mathematica.console() >> does (and so does mathematica.interact(), which might be what you are >> really searching…). >> >> Le jeudi 19 janvier 2023 à 11:13:28 UTC+1, pvit...@gmail.com a écrit : >> >>> Using Sage 9.7 installed in Arch Linux over WSL2 in Windows 10. >>> The interface to mathematica works, but the mathematica_console() does >>> not, with this error: >>> >>> NameError Traceback (most recent call >>> last) >>> Cell In[16], line 1 >>> ----> 1 mathematica_console() >>> >>> NameError: name 'mathematica_console' is not defined >>> >>> Is this command not available anymore? >>> >>> Thanks a lot >>> Pablo >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/c6adb046-ed02-4019-b68a-4df8a2123fc4n%40googlegroups.com.