scipy.interpolate import * fail, DLL load failed

Posted by dfudge on 2013-08-27 12:37
Forums: PyPM (discontinued) | OS: Windows 7

Importing from scipy.interpolate causes an error referring to "DLL load failed", see attached screen print.

The line before the error references _cephes which exists in what I think is the correct location.

C:\Python27\Lib\site-packages\scipy\special\_cephes.pyd

Running Windows 7.

Any ideas where to look next?

AttachmentSize
scipyFailure.png24.29 KB

preber | Thu, 2013-09-05 13:04

I've used scipy plenty of times previously without a problem, but this may be the first time loading scipy.interpolate and generating this error message.

>>> from scipy import interpolate

Traceback (most recent call last):
  File "", line 1, in 
    from scipy import interpolate
  File "C:\Users\reber\AppData\Roaming\Python\Python27\site-packages\scipy\interpolate\__init__.py", line 146, in 
    from interpolate import *
  File "C:\Users\reber\AppData\Roaming\Python\Python27\site-packages\scipy\interpolate\interpolate.py", line 13, in 
    import scipy.special as spec
  File "C:\Users\reber\AppData\Roaming\Python\Python27\site-packages\scipy\special\__init__.py", line 525, in 
    from _cephes import *
ImportError: DLL load failed: The specified module could not be found.

preber | Fri, 2013-09-13 09:49

Follow-up: the problem appears specific to scipy-0.10.1.

I have 0.8.1 installed on another computer and it does not generate this error message on import scipy.interpolate