python version pyinstaller version 3.7 or later 3.4 or later 3.6 3.3.1
1. 下载
http://mirrors.aliyun.com/pypi/simple/pyinstaller/
2. 解压
3. 进入到上面解压的文件夹,打开cmd命令,执行"python setup.py install"
4. 查看安装的版本号
5. 使用pyinstaller
(1)pyinstaller -F main.py 打包成单个文件
(2)pyinstaller -F -w main.py 打包成没有控制台的单个文件
(3)pyinstaller -D main.py 打包成多个文件(带模块包)
(4)pyinstaller -F -i logo.ico main.py 打包成带图标的单个文件