[SciPy-user] error at sparse

Jose Lopez lopmart@gmail....
Fri Oct 24 08:42:25 CDT 2008


my headers are

from pylab import *
from scipy import *

JL

On Fri, Oct 24, 2008 at 6:17 AM, Robert Kern <robert.kern@gmail.com> wrote:

> On Fri, Oct 24, 2008 at 08:03, Jose Lopez <lopmart@gmail.com> 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?
>
> --
> Robert Kern
>
> "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
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20081024/19b6e228/attachment.html 


More information about the SciPy-user mailing list