I have trouble with sage manifold. Please help to fix this problem.
When I type
Manifold(2, 'M')
it shows
NameError Traceback (most recent call last)
<ipython-input-1-9ad1037f0edd> in <module>()
----> 1 Manifold(Integer(2), 'M')
NameError: name 'Manifold' is not defined
I installed sage manifold using
sudo bash sm-install.sh
I installed sage using the following commands:
sudo apt-add-repository -y ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary