title: NumPy import error in C2V - ImportError: DLL load failed while importing _multiarray_umath:
body: <p>I have a problem with an .exe compiled with pyinstaller .</p>
  <p>I use the c2v library to manage images and it contains numpy which is apparently the cause of the error</p>
  <p>the log error =</p>
  <pre><code>Traceback (most recent call last):
    File &quot;numpy\core\__init__.py&quot;, line 23, in &lt;module&gt;
    File &quot;PyInstaller\loader\pyimod02_importers.py&quot;, line 493, in exec_module
    File &quot;numpy\core\multiarray.py&quot;, line 10, in &lt;module&gt;
    File &quot;PyInstaller\loader\pyimod02_importers.py&quot;, line 493, in exec_module
    File &quot;numpy\core\overrides.py&quot;, line 6, in &lt;module&gt;
  ImportError: DLL load failed while importing _multiarray_umath: Não foi possível encontrar o módulo especificado.
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File &quot;SRBR.py&quot;, line 23, in &lt;module&gt;
      from albumart import albumartfun
    File &quot;PyInstaller\loader\pyimod02_importers.py&quot;, line 493, in exec_module
    File &quot;albumart.py&quot;, line 9, in &lt;module&gt;
      from removesimbols import removestring
    File &quot;PyInstaller\loader\pyimod02_importers.py&quot;, line 493, in exec_module
    File &quot;cv2\__init__.py&quot;, line 11, in &lt;module&gt;
      import numpy
    File &quot;PyInstaller\loader\pyimod02_importers.py&quot;, line 493, in exec_module
    File &quot;numpy\__init__.py&quot;, line 140, in &lt;module&gt;
    File &quot;PyInstaller\loader\pyimod02_importers.py&quot;, line 493, in exec_module
    File &quot;numpy\core\__init__.py&quot;, line 49, in &lt;module&gt;
  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.10 from &quot;D:\SRBRdev\SRBR.exe&quot;
    * The NumPy version is: &quot;1.23.2&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: Não foi possível encontrar o módulo especificado.
  </code></pre>
  <p>I've already reinstalled the entire python including the libraries, python is running in GLOBAL mode, in VSC the code works normally.</p>
  <p>I've already tried previous versions of numpy and importing numpy in the main code.</p>
  <p>I also tried to add numpy path in pyinstaller</p>
  <p>if you find a solution, thanks in advance</p>