title: DLL load failed: the specified module could not be found Windows 10 shell
body: <p>I'm trying to run a Python script from the Windows shell, but when I do</p>
  
  <pre><code>python path\to\file\script.py
  </code></pre>
  
  <p>I get an error "DLL load failed: The specified module could not be found" and it traces back to the line where I import numpy. </p>
  
  <pre><code>C:\Users\Admin&gt;python path\to\file\script.py
  Traceback (most recent call last):
    File "path\to\file\script.py", line 8, in &lt;module&gt;
      import numpy as np
    File "C:\Users\Admin\Anaconda3\lib\site-packages\numpy\__init__.py", line 140, in &lt;module&gt;
      from . import _distributor_init
    File "C:\Users\Admin\Anaconda3\lib\site-packages\numpy\_distributor_init.py", line 34, in &lt;module&gt;
      from . import _mklinit
  ImportError: DLL load failed: The specified module could not be found.
  </code></pre>
  
  <p>The weird part is that when I run it in an editor like Spyder, numpy imports just fine. Can someone help me?</p>
  
  <p>Thanks</p>