[osgeo4w-dev] [osgeo4w] #492: scipy.ndimage fails to import

OSGeo4W trac_osgeo4w at osgeo.org
Thu Apr 21 02:19:52 PDT 2016


#492: scipy.ndimage fails to import
--------------------+---------------------------
Reporter:  kbevers  |      Owner:  osgeo4w-dev@…
    Type:  defect   |     Status:  new
Priority:  major    |  Component:  Package
 Version:           |   Keywords:
--------------------+---------------------------
 When importing scipy.ndimage from either a python console or script an
 ImportError is raised:


 {{{
 In [1]: import scipy.ndimage
 ---------------------------------------------------------------------------
 ImportError                               Traceback (most recent call
 last)
 <ipython-input-1-ca78d1949b6c> in <module>()
 ----> 1 import scipy.ndimage

 C:\OSGEO4~1\apps\Python27\lib\site-packages\scipy\ndimage\__init__.py in
 <module>()
     170 from __future__ import division, print_function, absolute_import
     171
 --> 172 from .filters import *
     173 from .fourier import *
     174 from .interpolation import *

 C:\OSGEO4~1\apps\Python27\lib\site-packages\scipy\ndimage\filters.py in
 <module>()
      35 from . import _ni_support
      36 from . import _nd_image
 ---> 37 from scipy.misc import doccer
      38
      39 __all__ = ['correlate1d', 'convolve1d', 'gaussian_filter1d',
 'gaussian_filter',

 C:\OSGEO4~1\apps\Python27\lib\site-packages\scipy\misc\__init__.py in
 <module>()
      45 from .common import *
      46 from numpy import who, source, info as _info
 ---> 47 from scipy.special import comb, factorial, factorial2, factorialk
      48
      49 import sys

 C:\OSGEO4~1\apps\Python27\lib\site-packages\scipy\special\__init__.py in
 <module>()
     544 from __future__ import division, print_function, absolute_import
     545
 --> 546 from ._ufuncs import *
     547
     548 from .basic import *

 ImportError: DLL load failed: The specified module could not be found.
 }}}

 This happens for scipy version 0.14.0

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/492>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list