the exe made by pyinstaller crashes when calling matplotlib

I had a similar problem and after several searches I found a recipe that works. These are my configurations with Anaconda:

  • python version 3.6
  • pyinstaller version 3.6
  • matplotlib version 3.0.3

Do not use pyinstaller with “–onefile” option so in the folder “dist” there will be various “.dll” files. And here is the problem, the file “libiomp5md.dll” is missing!

Then just copy to the folder “dist” the file “libiomp5md.dll” which is located in the Anaconda installation folder …\Anaconda3\Library\bin

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top