Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to create an elliptic curve in sage

the following code

from sage.schemes.elliptic_curves import EllipticCurve

E = EllipticCurve('y^2 = x^3 + 1', field='GF(8)')

points = E.points()

print(points)

E.plots()

always returns the following error : ImportError: cannot import name 'EllipticCurve' from 'sage.schemes.elliptic_curves'

how to create an elliptic curve in sage

the following code

from sage.schemes.elliptic_curves import EllipticCurve

EllipticCurve

E = EllipticCurve('y^2 = x^3 + 1', field='GF(8)')

field='GF(8)')

points = E.points()

E.points() print(points)

print(points)

E.plots()

E.plots()

always returns the following error : ImportError: cannot import name 'EllipticCurve' from 'sage.schemes.elliptic_curves'