pip3 install pyinstaller --index-url https://pypi.tuna.tsinghua.edu.cn/simple/
进入 pyinstaller.exe 所在目录
pyinstaller -F -i test.ico test.py
加载图标并生成exe