Ask Your Question

gucheuta's profile - activity

2019-03-28 14:10:15 -0600 received badge  Notable Question (source)
2018-11-03 15:20:04 -0600 received badge  Popular Question (source)
2016-11-30 15:10:09 -0600 commented answer Error with metric

It is strange. I got the same error after following the installation instructions, too. In fact, g = M.lorentz_metric('g') (or g = M.metric('g') ) did not work even in SageMathCloud...

P.S. I installed and SageManigolds on MacOSX.

2016-11-30 09:24:43 -0600 received badge  Student (source)
2016-11-30 02:23:31 -0600 asked a question Error with metric


I am learning Sage Math and Sage Manifolds. As in the reference manual, I just used the command:

M = Manifold(4, 'M')

g = M.lorentz_metric('g')

Running the second line gave me the following message:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "", line 10, in <module> exec compile(u'open("","w").write("# -- coding: utf-8 --\n" + _support_.preparse_worksheet_cell(base64.b64decode("ZyA9IE0ubG9yZW50el9tZXRyaWMoJ2cnKQ=="),globals())+"\n"); execfile(os.path.abspath("")) File "", line 1, in <module>

File "/private/var/folders/hw/dshmtl910nb4nk8_pc8f7ldr0000gn/T/tmptEzTup/", line 2, in <module> exec compile(u"g = M.lorentz_metric('g')" + '\n', '', 'single') File "", line 1, in <module>

File "sage/structure/category_object.pyx", line 834, in sage.structure.category_object.CategoryObject.__getattr__ (/Applications/ File "sage/structure/category_object.pyx", line 849, in sage.structure.category_object.CategoryObject.getattr_from_category (/Applications/ File "sage/structure/misc.pyx", line 295, in sage.structure.misc.getattr_from_other_class (/Applications/ AttributeError: 'DifferentiableManifold_with_category' object has no attribute 'lorentz_metric'

I appreciate it if somebody would give me some advice. Thanks.

2016-11-30 02:03:39 -0600 commented answer Error on %display latex

I chose the first option :) It did work, thank a lot.

2016-11-30 02:03:32 -0600 received badge  Scholar (source)
2016-11-29 03:31:37 -0600 asked a question Error on %display latex


I just started using Sage Math and ran %display latex. Then I got Syntax Error: I have looked for a solution but found nothing clear. Could anyone know how to deal with it? Thanks.