File "C:\Users\Acer\wo\QEW.spec", line 24, in <module>
exe = EXE(
File "C:\Users\Acer\AppData\Local\JetBrains\PyCharmCE2022.1\demo\PyCharmLearningProject\h\lib\site-packages\PyInstaller\building\api.py", line 524, in __init__
self.__postinit__()
File "C:\Users\Acer\AppData\Local\JetBrains\PyCharmCE2022.1\demo\PyCharmLearningProject\h\lib\site-packages\PyInstaller\building\datastruct.py", line 173, in __postinit__
self.assemble()
File "C:\Users\Acer\AppData\Local\JetBrains\PyCharmCE2022.1\demo\PyCharmLearningProject\h\lib\site-packages\PyInstaller\building\api.py", line 629, in assemble
icon.CopyIcons(build_name, self.icon)
File "C:\Users\Acer\AppData\Local\JetBrains\PyCharmCE2022.1\demo\PyCharmLearningProject\h\lib\site-packages\PyInstaller\utils\win32\icon.py", line 215, in CopyIcons
return CopyIcons_FromIco(dstpath, [srcpath])
File "C:\Users\Acer\AppData\Local\JetBrains\PyCharmCE2022.1\demo\PyCharmLearningProject\h\lib\site-packages\PyInstaller\utils\win32\icon.py", line 150, in CopyIcons_FromIco
for i, f in enumerate(icons):
File "C:\Users\Acer\AppData\Local\JetBrains\PyCharmCE2022.1\demo\PyCharmLearningProject\h\lib\site-packages\PyInstaller\utils\win32\icon.py", line 117, in __init__
file.seek(e.dwImageOffset, 0)
OSError: [Errno 22] Invalid argument
手打路径也没有用😭