<p dir="auto">Since the default recommended filters for scipy are now SOS, it should make sense to use them for decimate (and other internal uses)</p>
<p dir="auto">This is the current state of scipy.signal.decimate</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="        if zero_phase:
            y = filtfilt(b, a, x, axis=axis)
        else:
            y = lfilter(b, a, x, axis=axis)"><pre class="notranslate"><code class="notranslate">        if zero_phase:
            y = filtfilt(b, a, x, axis=axis)
        else:
            y = lfilter(b, a, x, axis=axis)
</code></pre></div>
<p dir="auto">Sorry if this isn't the right class of Issue, new to doing this.</p>
<p dir="auto">Importing <code class="notranslate">scipy.sparse</code> or <code class="notranslate">scipy.special</code> (from 1.0.0rc1 openblas linked wheels) on windows can fail with an ImportError if the target machine does not have msvcp140.dll (part of MS Visual C++ 2015 redistributable package) installed.</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install scipy==1.0.0rc1
python -c&quot;import scipy.sparse&quot;
python -c&quot;import scipy.special&quot;"><pre class="notranslate"><code class="notranslate">pip install scipy==1.0.0rc1
python -c"import scipy.sparse"
python -c"import scipy.special"
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;C:\Users\biolab\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\sparse\__init__.py&quot;, line 229, in &lt;module&gt;
    from .csr import *
  File &quot;C:\Users\biolab\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\sparse\csr.py&quot;, line 15, in &lt;module&gt;
    from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
ImportError: DLL load failed: The specified module could not be found."><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
  File "&lt;string&gt;", line 1, in &lt;module&gt;
  File "C:\Users\biolab\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\sparse\__init__.py", line 229, in &lt;module&gt;
    from .csr import *
  File "C:\Users\biolab\AppData\Local\Programs\Python\Python36\lib\site-packages\scipy\sparse\csr.py", line 15, in &lt;module&gt;
    from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
ImportError: DLL load failed: The specified module could not be found.
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.0.0rc1 1.13.3 sys.version_info(major=3, minor=6, micro=2, releaselevel='final' , serial=0)"><pre class="notranslate"><code class="notranslate">1.0.0rc1 1.13.3 sys.version_info(major=3, minor=6, micro=2, releaselevel='final' , serial=0)
</code></pre></div>
<p dir="auto">Inspecting the sparsetools*.pyd with dependency walker reveals the missing dependency and installing the appropriate redistributable solves the problem.</p>
<p dir="auto">Also putting the msvc*.dll into 'scipy/extra-dll/' directory also seems to work.</p>