struct.error al crear .exe con pyinstaller
hola de nuevo, ejecuté este comando:
C:\Users\de Jongh\PycharmProjects\Sistema de Transporte de Fluidos>pyinstaller --icon=logo.ico STF.py
y estas fueron las ultimas lineas que se ejecutaron:
File "C:\Python27\lib\site-packages\pyinstaller-3.1.1-py2.7.egg\PyInstaller\building\api.py", line 586, in assemble
icon.CopyIcons(tmpnm, self.icon)
File "C:\Python27\lib\site-packages\pyinstaller-3.1.1-py2.7.egg\PyInstaller\utils\win32\icon.py", line 165, in CopyIcons
return CopyIcons_FromIco(dstpath, [srcpath])
File "C:\Python27\lib\site-packages\pyinstaller-3.1.1-py2.7.egg\PyInstaller\utils\win32\icon.py", line 116, in CopyIcons_FromIco
icons = map(IconFile, srcpath)
File "C:\Python27\lib\site-packages\pyinstaller-3.1.1-py2.7.egg\PyInstaller\utils\win32\icon.py", line 93, in __init__
entry.fromfile(file)
File "C:\Python27\lib\site-packages\pyinstaller-3.1.1-py2.7.egg\PyInstaller\utils\win32\icon.py", line 63, in fromfile
self._fields_ = list(struct.unpack(self._format_, data))
struct.error: unpack requires a string argument of length 16
gracias x la ayuda