[SciPy-user] error at sparse
Fri Oct 24 08:17:34 CDT 2008
On Fri, Oct 24, 2008 at 08:03, Jose Lopez <firstname.lastname@example.org> wrote:
> hi, i am working with scipy before, and i was used the next line code
> 'Matrix=sparse.lil_matrix((100,100),float)' and did not have any problem,
> but now, the python give me the next error 'NameError: name 'sparse' is not
> defined '
> somebody knows why?
Most likely you are missing an import of the sparse package. If not,
can you show us a complete example that fails?
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the SciPy-user