<p dir="auto">I am trying to use scipy.spatial.distance.cdist<br>
I can import scipy but cannot call or import scipy.spatial<br>
I have searched the web and found other posts similar to this but none have worked for me. I tried different versions of scipy, numpy and python itself. I continue to get the error shown in the image below. I do not appear to have _fblas.py. I searched the C drive of my computer and all it returned was test_fblas.py, which is present in the test folder within the scipy folder. I appreciate any help leading to the resolution of this hours long quest.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/63371401/78828254-6c84bf00-79b2-11ea-9e1e-954a3ae7601e.jpg"><img src="https://user-images.githubusercontent.com/63371401/78828254-6c84bf00-79b2-11ea-9e1e-954a3ae7601e.jpg" alt="error" style="max-width: 100%;"></a></p>
<p dir="auto">Using the Microsoft Store version of Python 3.7 on Windows 10 importing <code class="notranslate">scipy.linalg</code> fails. To me this issue seems similar to <a href="https://github.com/numpy/numpy/issues/12667" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/12667/hovercard">numpy#12667</a>, which got resolved through <a href="https://github.com/numpy/numpy/pull/13019" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/13019/hovercard">numpy#13019</a>.</p>
<h3 dir="auto">Reproducing code example:</h3>
<p dir="auto"><code class="notranslate">import scipy.linalg</code></p>
<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;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;C:\Users\stroy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\linalg\__init__.py&quot;, line 190, in &lt;module&gt;
    from .misc import *
  File &quot;C:\Users\stroy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\linalg\misc.py&quot;, line 5, in &lt;module&gt;
    from .blas import get_blas_funcs
  File &quot;C:\Users\stroy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\linalg\blas.py&quot;, line 214, in &lt;module&gt;
    from scipy.linalg import _fblas
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden."><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "C:\Users\stroy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\linalg\__init__.py", line 190, in &lt;module&gt;
    from .misc import *
  File "C:\Users\stroy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\linalg\misc.py", line 5, in &lt;module&gt;
    from .blas import get_blas_funcs
  File "C:\Users\stroy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy\linalg\blas.py", line 214, in &lt;module&gt;
    from scipy.linalg import _fblas
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
</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.2.1 1.16.3 sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">1.2.1 1.16.3 sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)
</code></pre></div>