title: Sklearn missing dll file
body: <p>So I imported the sklearn module into my python script, which runs fine when executing from the terminal; but I wanted to turn it into an executable using PyInstaller, to which I used the following command: <code>pyinstaller.exe --onefile MainApp.py</code>. Now when I try to run my executable I get a missing dll file error; Note that this worked fine before I imported sklearn, which makes me think this is a problem with sklearn module.</p>
  <p>I uninstalled and reinstalled said module but it did not work.</p>
  <p><a href="https://i.stack.imgur.com/1NvD8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1NvD8.png" alt="enter image description here" /></a></p>
  <p>It is also interesting to note that the _MEI57882 folder does not exist in my my Temp folder</p>
  <h1>Update</h1>
  <p>I've also run across instances of other people facing the same problem: <a href="https://github.com/scikit-learn/scikit-learn/issues/15899" rel="nofollow noreferrer">https://github.com/scikit-learn/scikit-learn/issues/15899</a>, but it sounded like they were trying to fix the problem with the install, back in 2019. I have the latest sklearn module to date so I'm still running into the problem.</p>
  <h1>Bigger Update</h1>
  <p>After talking with some contributes of scikit-sklearn, this error appears to be on the side of py-installer; not the module itself.</p>