alive_progress 使用的時候正常巧勤,用pyinstaller打包報錯
解決方案 配置 a.datas += Tree
a = Analysis(['script.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
a.datas += Tree("<python_path>/Lib/site-packages/grapheme/", prefix= "grapheme")