[Numpy-discussion] "import numpy" is slow
Fri Aug 1 18:17:07 CDT 2008
Christopher Barker wrote:
> $ time python -c "import numpy"
> real 0m0.973s
> user 0m0.290s
> sys 0m0.682s
> much more in line with what others are getting.
> I'll start installing stuff that I actually am using now, and maybe I'll
> see when (if) it breaks down.
OK, I just installed wxPython, and whoa!
time python -c "import numpy"
so it's taking almost two seconds more to import numpy, now that
wxPython is installed. I haven't even imported it yet. importing wx
isn't as bad:
$ time python -c "import wx"
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the Numpy-discussion