Ask Your Question
0

interact still using sagenb ?

asked 2020-03-09 09:40:50 +0200

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 11:40:53 +0200

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 08:38:53 +0200 )edit

ok @tmonteil,

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

ortollj gravatar imageortollj ( 2020-03-14 20:26:49 +0200 )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 09:40:50 +0200

Seen: 443 times

Last updated: Mar 09 '20