[Numpy-discussion] "import numpy" is slow
Christopher Barker
Chris.Barker at noaa.gov
Fri Aug 1 18:22:40 EDT 2008
David Cournapeau wrote:
> IOW, I don't think the problem is the numbers themselves. It has to be
> something else. A simple profiling like
>
> python -m cProfile -o foo.stats foo.py
>
> and then:
>
> python -c "import pstats; p = pstats.Stats("foo.stats");
> p.sort_stats('cumulative').print_stats(50)"
OK, see the results -- I think (though i may be wrong) this means that
the problem isn't in finding the numpy package:
As for Shark, I'm sorry I missed that message, but I'm trying to see if
I can do that now -- I don't seem to have Shark installed, and the ADC
site doesn't seem to be working, but I'll keep looking.
Thanks for all your help with this...
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
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
Chris.Barker at noaa.gov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ImportNumpyStats.txt
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080801/79f21455/attachment.txt>
More information about the NumPy-Discussion
mailing list