1、打包配置文件 HuiMergeDemo_x64.spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['HuiMergeDemo.py', 'D:\\HuiMerge\\__init__.py'], pathex=['D:\\HuiMerge'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher, noarchive=False) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, [], name='HuiMergeDemo_x64', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, console=True )
2、打包命令
pyinstaller -F HuiMergeDemo_x64.spec
标签:exe,False,python,HuiMergeDemo,x64,cipher,打包 From: https://www.cnblogs.com/wtxyear/p/17664310.html