On Tue, Mar 5, 2019 at 11:27 AM 'benyamin alizade' via sage-support <sage-support@googlegroups.com> wrote: > > >> >> this is very strange. It's been present in all versions of Sage since >> 2007 or so... >> >> How about >> >> maple.console() >> >> instead? >> > > It gives the following error: > > --------------------------------------------------------------------------- > RuntimeError Traceback (most recent call last) > <ipython-input-6-3f9b98768951> in <module>() > ----> 1 maple.console() > > /opt/sagemath-8.5/local/lib/python2.7/site-packages/sage/interfaces/maple.pyc > in console(self) > 456 > > 457 """ > --> 458 maple_console() > 459 > 460 ## def killall(self): > > /opt/sagemath-8.5/local/lib/python2.7/site-packages/sage/interfaces/maple.pyc > in maple_console() > 1162 from sage.repl.rich_output.display_manager import > get_display_manager > 1163 if not get_display_manager().is_in_terminal(): > -> 1164 raise RuntimeError('Can use the console only in the terminal. > Try %%maple magics instead.') > 1165 os.system('maple') > 1166 > > > RuntimeError: Can use the console only in the terminal. Try %%maple magics > instead.
I see. Sorry, I have not realised you're using a notebook interface (by the way, which one - jupyter?) Do you know how to try this in a Sage terminal session instead? > > -- > 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. -- 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.