没有名为'_cffi_backend'的模块cx_freeze

时间:2018-11-12 05:29:57

标签: python cx-freeze

这是我的问题:我想用cx_freeze构建一个应用程序,我的setup.py文件是这样的:

import os, sys
from cx_Freeze import setup, Executable

path = sys.path
base = "Win32GUI"
includes = ["paramiko"]

cible_1 = Executable(
    script = "UIpreparFact.py",
    base = base,
    )

options = {"path": path,
             "includes": includes,
             "packages": ['os', 'cffi', 'idna']
           }

setup(
    name = "PreparFact",
    version = "1.0",
    description = "Triage selon code",
    author = "Tsifi",
    options = {"prepareFact_exe": options},
    executables = [cible_1]
    )   

我启动python setup.py build,此命令运行无错误,并且我具有构建目录,当我启动app.exe时,出现以下错误: cx_freeze build error

有人可以帮助我解决这个问题吗?

非常感谢。

0 个答案:

没有答案