Pyinstaller setting icons don't change

前端 未结 6 2136
栀梦
栀梦 2020-12-04 11:14

When I use the command:

pyinstaller.exe --icon=test.ico -F --noconsole test.py

All icons do not change to test.ico. Some icons remain as the

6条回答
  •  忘掉有多难
    2020-12-04 11:46

    That's error of a module in pyinstaller. The stuff would be sth like this, right:

    File "c:\users\p-stu\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller\utils\win32\icon.py", line 234, in CopyIcons
        except win32api.error as W32E:
    AttrubuteError: module 'win32ctypes.pywin32.win32api' has no attribute 'error'
    

提交回复
热议问题