Ask Your Question
0

interact still using sagenb ?

asked 2020-03-09 03:40:50 -0500

ortollj gravatar image

SageMath 9.0 , Ubuntu 18.04.4 LTS

in sage terminal:

@interact
def _(n=(1,20)):
    print(factorial(n))

Sage Interact Quick Start

gives the error:ModuleNotFoundError: No module named 'sagenb'

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-03-09 05:40:53 -0500

tmonteil gravatar image

As it is a graphical application, you should better run this in a jupyter notebook, not in the sage terminal. That said, on 9.1.beta4, i do not get your error, instead i got a piece of html.

edit flag offensive delete link more

Comments

but what you recommend does not apply for MatPlotLib Animation. see the post :matplotlib Animation in Jupyter notebook

(works in sage terminal but does not work in Jupyter notebook)

ortollj gravatar imageortollj ( 2020-03-10 02:38:53 -0500 )edit

ok @tmonteil,

finally you were right see the post with the link above .

ortollj gravatar imageortollj ( 2020-03-14 14:26:49 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-03-09 03:40:50 -0500

Seen: 91 times

Last updated: Mar 09