Py2Exe, [Errno 2] No file or directory of this type: 'numpy-atlas.dll'


I have included matplotlib in my program, I searched about numpy_atlas.dll on google and I seem to be the only one on Earth with this problem.

from setuptools import setup
import py2exe


Running Py2Exe results in error

C:\(..obmitted..)>python py2exe
running py2exe
*** searching for required modules ***
*** parsing results ***
*** finding dlls needed ***
error: [Errno 2] No such file or directory: 'numpy-atlas.dll'

Sounds like py2exe can't find dll. Following script will make py2exe quiet:

options = {
    "py2exe": {
        "dll_excludes": ["MSVCP90.dll"]


You still need to make sure that dll is on the user's machine. I believe numpy-atlas.dll is one of matplot dependencies.

Also consider using PyInstaller if everything else fails.