C:\Users\User\AppData\Local\Programs\Python\Python38-32\Рандом_вики>pyinstaller -F -w -i "C:\Users\User\AppData\Local\Programs\Python\Python38-32\Рандом_вики\icon.ico" wiki.py
130 INFO: PyInstaller: 3.6
131 INFO: Python: 3.8.0
133 INFO: Platform: Windows-10-10.0.18362-SP0
135 INFO: wrote C:\Users\User\AppData\Local\Programs\Python\Python38-32\Рандом_вики\wiki.spec
140 INFO: UPX is not available.
145 INFO: Extending PYTHONPATH with paths
['C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python38-32\\Рандом_вики',
'C:\\Users\\User\\AppData\\Local\\Programs\\Python\\Python38-32\\Рандом_вики']
146 INFO: checking Analysis
325 INFO: checking PYZ
384 INFO: checking PKG
494 INFO: Building because C:\Users\User\AppData\Local\Programs\Python\Python38-32\Рандом_вики\build\wiki\wiki.exe.manifest changed
495 INFO: Building PKG (CArchive) PKG-00.pkg
5116 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
5177 INFO: Bootloader c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\bootloader\Windows-32bit\runw.exe
5177 INFO: checking EXE
5180 INFO: Building EXE because EXE-00.toc is non existent
5184 INFO: Building EXE from EXE-00.toc
5189 INFO: Copying icons from ['путь\\icon.ico']
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python38-32\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\user\appdata\local\programs\python\python38-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\User\AppData\Local\Programs\Python\Python38-32\Scripts\pyinstaller.exe\__main__.py", line 7, in <module>
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\__main__.py", line 114, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\__main__.py", line 65, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\build_main.py", line 734, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\build_main.py", line 681, in build
exec(code, spec_namespace)
File "путь\wiki.spec", line 20, in <module>
exe = EXE(pyz,
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\api.py", line 445, in __init__
self.__postinit__()
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\datastruct.py", line 160, in __postinit__
self.assemble()
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\building\api.py", line 539, in assemble
icon.CopyIcons(tmpnm, self.icon)
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\utils\win32\icon.py", line 216, in CopyIcons
return CopyIcons_FromIco(dstpath, [srcpath])
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\utils\win32\icon.py", line 153, in CopyIcons_FromIco
for i, f in enumerate(icons):
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\utils\win32\icon.py", line 117, in __init__
entry.fromfile(file)
File "c:\users\user\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\utils\win32\icon.py", line 76, in fromfile
self._fields_ = list(struct.unpack(self._format_, data))
struct.error: unpack requires a buffer of 16 bytes
такая ошибка. Помогите пожалуйста