【发布时间】:2016-03-24 01:33:03
【问题描述】:
我在我的程序中包含了 matplotlib,我在 google 上搜索了 numpy_atlas.dll,我似乎是地球上唯一遇到这个问题的人。
setup.py
from setuptools import setup
import py2exe
setup(console=['EulerMethod.py'])
运行 Py2Exe 报错
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'
【问题讨论】:
-
我重新安装python时出现了这个问题。在此之前,我的脚本运行良好。我在 C:\Anaconda2\Lib\site-packages\numpy\core 找到了该文件,但 py2exe 由于某种原因找不到它。以前,我使用的是 python(x,y),但我切换到了 Anaconda(仍然是 python 2.7.x)。
标签: python numpy matplotlib py2exe