[SciPy-User] ImportError with Gohlke's 64-bit Windows build

David Goldsmith d.l.goldsmith at gmail.com
Tue Nov 16 14:20:08 EST 2010


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
-- 
In science it often happens that scientists say, 'You know that's a
really good argument; my position is mistaken,' and then they would
actually change their minds and you never hear that old view from them
again. They really do it. It doesn't happen as often as it should,
because scientists are human and change is sometimes painful. But it
happens every day. I cannot recall the last time something like that
happened in politics or religion.

- Carl Sagan, 1987 CSICOP address



More information about the SciPy-User mailing list