pyinstaller 打包脚本想添加一个图片 然后就报错

(venv) C:\PycharmParth\项目\selenium模块>pyinstaller -F -w -i C:\PycharmParth\项目\selenium模块\dist\images\24.ico 审核.py
82 INFO: PyInstaller: 4.4
82 INFO: Python: 3.8.9
83 INFO: Platform: Windows-10-10.0.17763-SP0
85 INFO: wrote C:\PycharmParth\项目\selenium模块\审核.spec
87 INFO: UPX is not available.
88 INFO: Extending PYTHONPATH with paths
['C:\PycharmParth\项目\selenium模块', 'C:\PycharmParth\项目\selenium模块']
95 INFO: checking Analysis
162 INFO: checking PYZ
186 INFO: checking PKG
218 INFO: Bootloader c:\pycharmparth\项目\venv\lib\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe
219 INFO: checking EXE
229 INFO: Building because icon changed
229 INFO: Building EXE from EXE-00.toc
232 INFO: Copying icons from ['C:\PycharmParth\项目\selenium模块\dist\images\24.ico']
Unable to open icon file C:\PycharmParth\项目\selenium模块\dist\images\24.ico

路径双斜杠 或者加引号

楼上正解