Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Failing to add a script to sage

I have recently started using SageMath on MacOs (used to working in Magma) and my question has a high possibility of being dumb.. In any case, I am trying to run this code -- on github /catherineray/aut-jac and I am not able to even install it properly. Readme file specifies what I need (My magma has all the required specs etc) and, most likely, I am not able to set up SageTrac.

When I try to run autperio.sage it gives me this error

load('autperio.sage') File "<string>", line 41 print Curve(f).genus() ^ SyntaxError: invalid syntax

Failing to add a script to sage

I have recently started using SageMath on MacOs (used to working in Magma) and my question has a high possibility of being dumb.. In any case, I am trying to run this code -- on github /catherineray/aut-jac and I am not able to even install it properly. Readme file specifies what I need (My magma has all the required specs etc) and, most likely, I am not able to set up SageTrac.

When I try to run autperio.sage it gives me this error

load('autperio.sage')
  File "<string>", line 41
    print Curve(f).genus()
              ^
SyntaxError: invalid syntax

syntax