[SciPy-user] error at sparse

Robert Kern robert.kern at gmail.com
Fri Oct 24 10:36:34 EDT 2008


On Fri, Oct 24, 2008 at 08:42, Jose Lopez <lopmart at gmail.com> wrote:
> my headers are
>
> from pylab import *
> from scipy import *

Right. The subpackages of scipy do not get imported with "from scipy
import *". You need to do

    from scipy import sparse

-- 
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



More information about the SciPy-User mailing list