Ask Your Question

sage manifold installation

asked 2015-06-22 11:15:04 -0500

naveen gravatar image

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

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
edit retag flag offensive close merge delete

1 answer

Sort by ┬╗ oldest newest most voted

answered 2015-06-22 14:19:45 -0500

eric_g gravatar image


Unfortunately, due to some change in the SageMath PPA (Sage sources are no longer shipped with the Ubuntu package), it is no longer possible to install SageManifolds in this way, because SageManifolds needs Sage sources to be build, cf. this discussion.

So for the time being, if you want to install SageManifolds, install first Sage in your home directory (not system-wide!) from a Linux binary that you can download from here (do not select the PPA method). Then follow these instructions.

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: 2015-06-22 11:15:04 -0500

Seen: 246 times

Last updated: Jun 22 '15