Python mfc100u.dll错误,cx\U冻结
我已经制作了一个python文件,我想将其转换为MSI文件。这是我的密码:Python mfc100u.dll错误,cx\U冻结,python,windows-installer,cx-freeze,Python,Windows Installer,Cx Freeze,我已经制作了一个python文件,我想将其转换为MSI文件。这是我的密码: from cx_Freeze import * includefiles=[] excludes=[] packages=["tkinter", "openpyxl"] base = None if sys.platform == "win32": base = "Win32GUI" shortcut_table = [] company_name = 'Bills Programs' product_na
from cx_Freeze import *
includefiles=[]
excludes=[]
packages=["tkinter", "openpyxl"]
base = None
if sys.platform == "win32":
base = "Win32GUI"
shortcut_table = []
company_name = 'Bills Programs'
product_name = 'BananaCell'
msi_data = {"Shortcut": shortcut_table}
bdist_msi_options = { 'upgrade_code': '{Banana-rama-30403344939493}',
'add_to_path': False, 'initial_target_dir': r'[ProgramFilesFolder]\%s\%s' %
(company_name, product_name), }
setup(
version = "0.1",
description = "Lightweight excel comparing program",
author = "Bill",
name = "BananaCell",
options = {'build_exe': {'include_files':includefiles}, "bdist_msi": bdist_msi_options,},
executables = [
Executable(
script="comparing.py",
base=base,
shortcutName="BananaCell",
shortcutDir="DesktopFolder",
icon='icon.ico',
)
]
)
但是当我运行下面的代码时,安装完成了,但是我得到了下面的错误
我做错了什么?我可以完全访问目录。非常感谢您的帮助。您是否尝试过以管理员权限从终端运行
.py
文件?您可以通过将Powershell
作为Administrator@SreetamDas是的,我试过了,但不起作用。您试过以管理员权限从终端运行.py
文件吗?您可以通过将Powershell
作为Administrator@SreetamDas是的,我试过了,但不起作用