Ask Your Question
2

tutorial() not working sagemath 9.6 MacOS

asked 2 years ago

mal11 gravatar image

updated 2 years ago

tmonteil gravatar image

Both in terminal and Jupyter notebook, tutorial() gives an error about module not callable.

The message one gets after running help() mentions manual() and tutorial().

But while manual() does work, tutorial() does not:

sage: tutorial()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-c50b110aacc5> in <module>
----> 1 tutorial()

TypeError: 'module' object is not callable
Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 2 years ago

This is a bug, fixed in https://trac.sagemath.org/ticket/33933. The command will be restored in the next release of SageMath. In the meantime, here is a workaround:

sage: from sage.misc.sagedoc import tutorial
sage: tutorial()
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2 years ago

Seen: 265 times

Last updated: Sep 04 '22