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

Louis Hong picture Louis Hong · Mar 24, 2016 · Viewed 9.6k times · Source

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.

setup.py

from setuptools import setup
import py2exe

setup(console=['EulerMethod.py'])

Running Py2Exe results in error

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

Answer

max picture max · Jun 1, 2016

This is what worked for me. I found the dll: C:\Python27\Lib\site-packages\numpy\core\numpy-atlas.dll and copied it to the same folder that has the setup.py