NameError: name 'LSeries' is not defined
Thus, I would like to ask if you can help me identify what it is that I'm doing wrong, or how to define Dirichlet L-functions in SAGE.
PS: The version of SAGE that I have installed in my computer is Version 5.3-OSX-64bit-10.6 (5.3-OSX-64bit-10.6), but I also tried running the same code online and it didn't work either.
Thank you very much for your help.
sage: load eulerprod.py
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/Users/beeson/<ipython console> in <module>()
/Applications/sage/local/lib/python2.6/site-packages/sage/misc/preparser.pyc in load(filename, globals, attach)
1634
1635 if fpath.endswith('.py'):
-> 1636 execfile(fpath, globals)
1637 elif fpath.endswith('.sage'):
1638 if (attach and attach_debug_mode) or ((not attach) and load_debug_mode):
/Users/beeson/eulerprod.py in <module>()
4 from sage.rings.all import is_RationalField, ZZ, Integer, QQ, O, ComplexField, CDF, primes, infinity as oo
5 from sage.schemes.elliptic_curves.ell_generic import is_EllipticCurve
----> 6 from psage.ellcurve.lseries.helper import extend_multiplicatively_generic
7 from sage.misc.all import prod
8 from sage.modular.abvar.abvar import is_ModularAbelianVariety
ImportError: No module named psage.ellcurve.lseries.helper