Exception.
You are using pip version 10.0.1, however version 21.1.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Programs.
Run - > cmd - > command
python -m pip install --upgrade pip
Find Scripts in the Python directory and add it to the system environment variable.
as shown
Execute the packing command
1. Run - > cmd -> cd the .py directory you need to package as shown below
2 pyinstaller -F the name of the package you need to package.py
Note: Please use English names if possible, otherwise there will be problems. Wait for a while and the package will be ready!
3 with custom program icon generation instructions
Note: The ico icon can be customized from
Just make it up or use your personal favorite. Featured: Alibaba Vector Gallery . The effect if the picturepyinstaller -w -F -i root directory.ico You need to pack the.py
To this point this article on Python packaged exe when a variety of exception handling scheme summarizes the article is introduced to this, more related Python packaged exe exception handling content, please search for my previous articles or continue to browse the following related articles I hope that you will support me more in the future!