Cython class AttributeError

By default cdef attributes are only accessible from within Cython. If you make it a public attribute with cdef public in front of the attribute name then Cython will generate suitable properties to be able to access it from Python. Some extra notes about related problems: If you’re getting the same error from within Cython … Read more