python生成.exe

python生成.exe

1、在Anaconda Prompt终端输入pip install pyinstaller

2。输入python -m pip install pypiwin32

python3.6版本可行,2.7版本不支持这种安装方式

测试命令行

pyinstaller -F youpyfile.py

原文地址:https://www.cnblogs.com/fanru5161/p/8636320.html