Ask Your Question

NameError: name 'var' is not defined

asked 2017-07-24 13:49:10 -0600

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 14:28:00 -0600

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 13:49:10 -0600

Seen: 1,846 times

Last updated: Jul 24 '17