Please add some information that describes the problem in detail:
What version of Python are you using?
On what operating system?
What is the file format of the icon?
There are two other things you can try:
Copy the generated PyInstaller package command to the system command line and run it directly. If that doesn't work, copy the output log messages here.
Install Pillow in your Python environment(pip install Pillow). The current Py2exe-GUI already has the ability to use Pillow to assist in determining the format of icon files, which is automatically enabled when from PIL import Image can be executed in your environment.
Please add some information that describes the problem in detail:
There are two other things you can try:
Pillow
in your Python environment(pip install Pillow
). The current Py2exe-GUI already has the ability to use Pillow to assist in determining the format of icon files, which is automatically enabled whenfrom PIL import Image
can be executed in your environment.