Ask Your Question

NameError: name 'var' is not defined

asked 2017-07-24 20:49:10 +0200

Road gravatar image

I'm using Jupyter Notebook on CoCalc. I can't create symbolic variables.


results in NameError: name 'var' is not defined. I tried

from sage.calculus.var import *

but it still doesn't work and gives the same error.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-24 21:28:00 +0200

vdelecroix gravatar image

You need to set up the kernel to SageMath (I guess it is currently Python 2). Find The menu Kernel and the sub menu Change Kernel.

edit flag offensive delete link more

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


Asked: 2017-07-24 20:49:10 +0200

Seen: 4,196 times

Last updated: Jul 24 '17