scipy使用cx_freeze DLL加载失败

时间:2016-01-25 14:45:16

标签: python-3.x cx-freeze

在我的应用程序中使用cx_freeze时,运行可执行文件时会出现以下错误:

enter image description here

setup.py文件是:

import sys
from cx_Freeze import setup, Executable

# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {
"includes": ['numpy', 'networkx', 'pandas', 'xlwt', 'matplotlib', 'xlsxwriter', 'numba', 'scipy.sparse.linalg', 'scipy.sparse.csgraph._validation'],
"packages": ['pkg_resources'],
'excludes' : [],
"include_files": [('C:\\Anaconda3\\Lib\\site-packages\\scipy\\special\\_ufuncs.pyd','_ufuncs.pyd'), ('C:\\Anaconda3\Lib\\site-packages\\scipy\\sparse\\linalg\\isolve\\_iterative.pyd', '_iterative.pyd')]}


# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
    base = "Win32GUI"

setup(  name = "GridCal",
        version = "0.1",
        description = "GridCal",
        options = {"build_exe": build_exe_options},
        executables = [Executable("main_gui.py", base=base)])

scipy.sparse.linalg.isolve._iterative.pyd图书馆在那里,所以我不知道问题是什么。

0 个答案:

没有答案