[SciPy-user] error at sparse

Robert Kern robert.kern@gmail....
Fri Oct 24 09:36:34 CDT 2008


On Fri, Oct 24, 2008 at 08:42, Jose Lopez <lopmart@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