Pandas with py2exe: ImportError: C extension: dist not built

Pandas with py2exe: ImportError: C extension: dist not built

尝试构建 py2exe (0.6.9) 包,该模块具有使用 pandas (0.16.2) 的依赖项。

当"py2exe'ing"时,没有错误显示,pandas python包在py2exe包中。

当尝试 运行 .exe 时,它​​失败了:

File "pandas__init__.pyo", line 13, in

ImportError: C extension: dist not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace' to build the C extensions first.

我尝试使用建议的命令选项构建 pandas,然后用它构建一个轮子,但没有改变结果。

我还能缺少什么?

更新:这不是问题的解决方案,但如果对任何人来说也是可能的,我可以确认更改为 PyInstaller 是一种解决方法。