Thanks very much for your reply. I'm trying to install the software now, but am having a bit of trouble. In particular I get a large error message, which I'm copying below. Any advice would be appreciated. This is after I run
[ 8/52] Cythonizing psage/function_fields/function_field_element.pyx
Error compiling Cython file:
------------------------------------------------------------
...
cdef FunctionFieldElement left = <FunctionFieldElement>self
cdef FunctionFieldElement right = <FunctionFieldElement>other
c = cmp(left._parent, right._parent)
return c or cmp(left._x, right._x)
cpdef ModuleElement _add_(self, ModuleElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:300:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef getattr_from_category(self, name)
cpdef _act_on_(self, x, bint self_on_left)
cpdef _acted_upon_(self, x, bint self_on_left)
cdef _add_(self, other)
^
------------------------------------------------------------
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef FunctionFieldElement res = self._new_c()
res._x = self._x + (<FunctionFieldElement>right)._x
return res
cpdef ModuleElement _sub_(self, ModuleElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:312:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef class ModuleElement(Element) # forward declaration
cdef class RingElement(ModuleElement) # forward declaration
cdef class ModuleElement(Element):
cpdef _sub_(self, right)
^
------------------------------------------------------------
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef FunctionFieldElement res = self._new_c()
res._x = self._x - (<FunctionFieldElement>right)._x
return res
cpdef RingElement _mul_(self, RingElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:324:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef _add_(self, other)
cdef _sub_(self, other)
cdef _neg_(self)
cdef _add_long(self, long n)
cdef _mul_(self, other)
^
------------------------------------------------------------
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef FunctionFieldElement res = self._new_c()
res._x = (self._x * (<FunctionFieldElement>right)._x) % self._parent.polynomial()
return res
cpdef RingElement _div_(self, RingElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:336:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef class AdditiveGroupElement(ModuleElement):
pass
cdef class RingElement(ModuleElement):
cpdef _div_(self, right)
^
------------------------------------------------------------
Error compiling Cython file:
------------------------------------------------------------
...
cdef FunctionFieldElement left = <FunctionFieldElement>self
cdef FunctionFieldElement right = <FunctionFieldElement>other
c = cmp(left._parent, right._parent)
return c or cmp(left._x, right._x)
cpdef ModuleElement _add_(self, ModuleElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:458:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef getattr_from_category(self, name)
cpdef _act_on_(self, x, bint self_on_left)
cpdef _acted_upon_(self, x, bint self_on_left)
cdef _add_(self, other)
^
------------------------------------------------------------
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef FunctionFieldElement res = self._new_c()
res._x = self._x + (<FunctionFieldElement>right)._x
return res
cpdef ModuleElement _sub_(self, ModuleElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:470:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef class ModuleElement(Element) # forward declaration
cdef class RingElement(ModuleElement) # forward declaration
cdef class ModuleElement(Element):
cpdef _sub_(self, right)
^
------------------------------------------------------------
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef FunctionFieldElement res = self._new_c()
res._x = self._x - (<FunctionFieldElement>right)._x
return res
cpdef RingElement _mul_(self, RingElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:483:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef _add_(self, other)
cdef _sub_(self, other)
cdef _neg_(self)
cdef _add_long(self, long n)
cdef _mul_(self, other)
^
------------------------------------------------------------
Error compiling Cython file:
------------------------------------------------------------
...
"""
cdef FunctionFieldElement res = self._new_c()
res._x = self._x * (<FunctionFieldElement>right)._x
return res
cpdef RingElement _div_(self, RingElement right):
^
------------------------------------------------------------
psage/function_fields/function_field_element.pyx:495:10: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
cdef class AdditiveGroupElement(ModuleElement):
pass
cdef class RingElement(ModuleElement):
cpdef _div_(self, right)
^
------------------------------------------------------------
Traceback (most recent call last):
return cythonize_one(*m)
raise CompileError(None, pyx_file)
CompileError: psage/function_fields/function_field_element.pyx
[ 9/52] Cythonizing psage/functions/inc_gamma.pyx
Traceback (most recent call last):
File "setup.py", line 126, in <module>
run_cythonize()
File "setup.py", line 121, in run_cythonize
'profile': profile,
result.get(99999) # seconds
raise self._value
Cython.Compiler.Errors.CompileError: psage/function_fields/function_field_element.pyx