[SciPy-Dev] import scipy.stats hangs in mod_python application

Pauli Virtanen pav@iki...
Wed Sep 7 03:50:55 CDT 2011


Tue, 06 Sep 2011 22:52:12 +0000, fork wrote:
> <josef.pktd <at> gmail.com> writes:
>> I have no idea about the actual problem, but scipy.stats requires or
>> loads many of the other scipy subpackages. Since stats is relatively
>> light in compiled extension modules, maybe trying to load first the
>> other subpackages might help to narrow it down. import scipy
>> import scipy.special
>> sparse, optimize, ...
> 
> import scipy works ok, but hangs in import scipy.stats.distributions.

How about

import scipy.constants
# import scipy.cluster
# import scipy.fftpack
...

I.e., try to import each subpackage, one at a time, to see which ones
hang. Also try

import scipy.stats.vonmises_cython

-- 
Pauli Virtanen



More information about the SciPy-Dev mailing list