First time here? Check out the FAQ!

Ask Your Question
0

interact still using sagenb ?

asked 5 years ago

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'

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 5 years ago

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.

Preview: (hide)
link

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 ( 5 years ago )

ok @tmonteil,

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

ortollj gravatar imageortollj ( 5 years ago )

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: 5 years ago

Seen: 827 times

Last updated: Mar 09 '20