title: ImportError: DLL load failed while importing _multiarray_umath: The specified module could not be found
body: <p>I am creating a new environment using anaconda in windows with some packages</p>
  <pre><code>conda create -n myenv
  conda activate myenv
  
  conda install python
  conda install cvxopt
  conda install gym
  conda install networkx
  conda install pandas
  conda install matplotlib
  </code></pre>
  <p>It installed the following versions:</p>
  <pre><code>python-3.9.2
  cvxopt-1.2.6
  gym-0.18.0
  networkx-2.5
  pandas-1.2.3
  matplotlib-3.3.4
  </code></pre>
  <p>When I try to run any simple code that import numpy: I am getting the following error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;C:\Users\kkris\anaconda3\envs\cbf_gym\lib\site-packages\numpy\core\__init__.py&quot;, line 22, in &lt;module&gt;  
      from . import multiarray
    File &quot;C:\Users\kkris\anaconda3\envs\cbf_gym\lib\site-packages\numpy\core\multiarray.py&quot;, line 12, in &lt;module&gt;
      from . import overrides
    File &quot;C:\Users\kkris\anaconda3\envs\cbf_gym\lib\site-packages\numpy\core\overrides.py&quot;, line 7, in &lt;module&gt;  
      from numpy.core._multiarray_umath import (
  ImportError: DLL load failed while importing _multiarray_umath: The specified module could not be found.       
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File &quot;c:\Users\kkris\Documents\GitHub\DC-microgrids\run_microgrid.py&quot;, line 1, in &lt;module&gt;
      import numpy as np
    File &quot;C:\Users\kkris\anaconda3\envs\cbf_gym\lib\site-packages\numpy\__init__.py&quot;, line 145, in &lt;module&gt;      
      raise ImportError(msg)
  ImportError:
  
  IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
  
  Importing the numpy C-extensions failed. This error can happen for
  many reasons, often due to issues with your setup or how NumPy was
  installed.
  
  We have compiled some common reasons and troubleshooting tips at:
  
      https://numpy.org/devdocs/user/troubleshooting-importerror.html
  
  Please note and check the following:
  
    * The Python version is: Python3.9 from &quot;C:\Users\kkris\anaconda3\envs\cbf_gym\python.exe&quot;
    * The NumPy version is: &quot;1.20.1&quot;
  
  and make sure that they are the versions you expect.
  Please carefully study the documentation linked above for further help.
  Original error was: DLL load failed while importing _multiarray_umath: The specified module could not be found.
  </code></pre>
  <p>I verified that my path variables for anaconda and accurate and my previous environments are working.</p>