我有一个Cx_Freeze安装文件,我正在努力工作.令人非常沮丧的是它曾经适当地冻结.但是,现在我收到以下错误:
编辑.显示的错误不是通过控制台的Python异常,而是在尝试启动通过冻结生成的生成的exe文件时的崩溃报告.
'file'notetest.py',第1行,在_find_and_load importlib_bootstrap.py,第2214行
....
AttributeError 'module' object has no attribute '_fix_up_module'
Run Code Online (Sandbox Code Playgroud)
我的setup.py文件如下:
import sys
import os
from cx_Freeze import setup, Executable
build_exe_options = {'packages': [], 'excludes' : []}
base = 'Win32GUI'
exe = Executable(
script = 'notetest.py',
initScript = None,
base = 'Win32GUI',
targetName = 'MedicaidAid.exe',
compress = True,
appendScriptToExe = True,
appendScriptToLibrary = True,
icon = None
)
setup( name = 'MedicaidAid',
version = '0.85',
description = 'MedicaidAid Software',
options = {'build_exe': build_exe_options},
executables = [Executable('notetest.py', …Run Code Online (Sandbox Code Playgroud)