[SciPy-User] ImportError with Gohlke's 64-bit Windows build
Christoph Gohlke
cgohlke at uci.edu
Tue Nov 16 18:03:44 EST 2010
On 11/16/2010 11:20 AM, David Goldsmith wrote:
> Hi, folks. I just installed C. Gohlke's 64-bit builds of Numpy and
> Scipy for Python 2.6. The installations reported no errors, and I get
> no errors reported when simply importing the top-level packages:
>
> C:\Users\Dad>python
> Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import numpy as np
>>>> import scipy as sp
>
> But when I try to import optimize or interpolate, for example, I get:
>
>>>> from scipy import optimize
> Traceback (most recent call last):
> File "<stdin>", line 1, in<module>
> File "C:\Python26\lib\site-packages\scipy\optimize\__init__.py", line 7, in<m
> odule>
> from optimize import *
> File "C:\Python26\lib\site-packages\scipy\optimize\optimize.py", line 28, in<
> module>
> import linesearch
> File "C:\Python26\lib\site-packages\scipy\optimize\linesearch.py", line 2, in
> <module>
> from scipy.optimize import minpack2
> ImportError: DLL load failed: The specified module could not be found.
>
>>>> from scipy import interpolate
> Traceback (most recent call last):
> File "<stdin>", line 1, in<module>
> File "C:\Python26\lib\site-packages\scipy\interpolate\__init__.py", line 7, in
> <module>
> from interpolate import *
> File "C:\Python26\lib\site-packages\scipy\interpolate\interpolate.py", line 13
> , in<module>
> import scipy.special as spec
> File "C:\Python26\lib\site-packages\scipy\special\__init__.py", line 8, in<mo
> dule>
> from basic import *
> File "C:\Python26\lib\site-packages\scipy\special\basic.py", line 6, in<modul
> e>
> from _cephes import *
> ImportError: DLL load failed: The specified module could not be found.
>
> Anyone else have this problem? Anyone have a solution?
>
> (I just noticed:>python
> Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 _64 bit (AMD64)] on
> win32_, emphasis added: not sure what this means, but could it be the
> source of the problem?)
>
> Thanks!
>
> DG
You are likely using the non-MKL build (or an outdated build) of numpy.
Scipy-0.8.0.win-amd64-py2.6.exe requires
numpy-1.5.0.win-amd64-py2.6-mkl.exe.
Christoph
More information about the SciPy-User
mailing list