[SciPy-User] Problems with 64-bit Scipy Stats

Nicholas Gunther nlgunther@yahoo....
Mon Dec 13 12:47:00 CST 2010


scipy.cov works; scipy.stats fails as indicated.
I am using
scipy-0.8.0.win-amd64-py2.6
numpy-1.5.1.win-amd64-py2.6
mingw-get-inst-20101030
python-2.6.6.amd64
Windows 7 Home Premium
AMD V120 Processor

Thanks!

Best
Nick





--- On Mon, 12/13/10, Christoph Gohlke <cgohlke@uci.edu> wrote:

> From: Christoph Gohlke <cgohlke@uci.edu>
> Subject: Re: [SciPy-User] Problems with 64-bit Scipy Stats
> To: "SciPy Users List" <scipy-user@scipy.org>
> Date: Monday, December 13, 2010, 12:48 PM
> 
> 
> On 12/13/2010 9:17 AM, Nicholas Gunther wrote:
> > On my Windows 7, 64-bit AMD machine:
> >
> > from scipy import stats produces:
> >
> > Traceback (most recent call last):
> >    File "<pyshell#1>", line 1,
> in<module>
> >      from scipy import stats
> >    File
> "C:\Python26\lib\site-packages\scipy\stats\__init__.py",
> line 7, in<module>`
> >      from stats import *
> >    File
> "C:\Python26\lib\site-packages\scipy\stats\stats.py", line
> 202, in<module>
> >      import scipy.special as special
> >    File
> "C:\Python26\lib\site-packages\scipy\special\__init__.py",
> line 8, in<module>
> >      from basic import *
> >    File
> "C:\Python26\lib\site-packages\scipy\special\basic.py", line
> 6, in<module>
> >      from _cephes import *
> > ImportError: DLL load failed: The specified module
> could not be found.
> >
> > ~~~
> > Since Scipy's covariance function works outside of the
> stats package, for single variable linear regression I can
> create a work-around, using cov(y,x)/var(x) for beta and the
> correlation coefficient squared for R squared.  This is
> not ideal, however.
> > Any suggestion of other workarounds, or how to fix
> this?
> > Thanks!
> 
> 
> In case you are using Scipy binaries built with Visual C
> and the Intel 
> compiler suite, make sure to use a numpy build that uses
> the same 
> version of Intel's MKL and that the MKL and Intel runtime
> libraries are 
> found in the Windows DLL search path.
> 
> --
> Christoph
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
> 


More information about the SciPy-User mailing list