[SciPy-user] Newbie question on execution time of import scipy

Seth Falcon sfalcon at fhcrc.org
Fri Mar 14 12:12:54 EST 2003


> This is excessive.  I'm not sure why it is so long... 

Glad to hear it (that it is excessive, not that you aren't sure
why).

In playing around, I've isolated the problem somewhat:

I was running the python interpreter from within a cygwin bash
window.  I *was* careful to invoke my windows Python installation
using '/cygdrive/c/Python22/python.exe'.  Nevertheless, from within
cygwin, I get a 16 second import time for scipy.

Opening a windows cmd terminal and invoking the Python interpreter
results in a *much* improved import time: 3.0 seconds!  

Not sure why the big difference, but it looks like it is a cygwin
issue, not a Python one.

BTW, I noticed that you are using the ActivePython build.  I'm
curious to know if people have suggestions as far as which builds to
use and why. 

+ seth




More information about the SciPy-User mailing list