37,742
社区成员
发帖
与我相关
我的任务
分享
Traceback (most recent call last):
File "C:\Python27\Scripts\pyinstaller-script.py", line 9, in <module>
load_entry_point('PyInstaller==3.3.1', 'console_scripts', 'pyinstaller')()
File "C:\Python27\lib\site-packages\PyInstaller\__main__.py", line 94, in run
run_build(pyi_config, spec_file, **vars(args))
File "C:\Python27\lib\site-packages\PyInstaller\__main__.py", line 46, in run_
build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "C:\Python27\lib\site-packages\PyInstaller\building\build_main.py", line
791, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'
))
File "C:\Python27\lib\site-packages\PyInstaller\building\build_main.py", line
737, in build
exec(text, spec_namespace)
File "<string>", line 29, in <module>
File "C:\Python27\lib\site-packages\PyInstaller\building\api.py", line 420, in
__init__
self.__postinit__()
File "C:\Python27\lib\site-packages\PyInstaller\building\datastruct.py", line
161, in __postinit__
self.assemble()
File "C:\Python27\lib\site-packages\PyInstaller\building\api.py", line 509, in
assemble
icon.CopyIcons(tmpnm, self.icon)
File "C:\Python27\lib\site-packages\PyInstaller\utils\win32\icon.py", line 166
, in CopyIcons
return CopyIcons_FromIco(dstpath, [srcpath])
File "C:\Python27\lib\site-packages\PyInstaller\utils\win32\icon.py", line 117
, in CopyIcons_FromIco
icons = map(IconFile, srcpath)
File "C:\Python27\lib\site-packages\PyInstaller\utils\win32\icon.py", line 98,
in __init__
file.seek(e.dwImageOffset, 0)
IOError: [Errno 22] Invalid argument