美文网首页
打包成exe

打包成exe

作者: 残风暗月 | 来源:发表于2020-09-28 13:41 被阅读0次

1.点击底部的【Terminal】打开终端,中输入命令pip install pyinstaller后回车(如果pip不在当前文件夹下,也可以在终端输入命令执行)

2. 输入命令 pyinstaller

3.输入命令 pyinstaller --console --onefile meizi.py(meizi.py是要打包成exe的.py文件)

pyinstaller --console --onefile meizi.py

4.在工程目录下/dist文件夹中会有打包好的exe文件

相关文章

网友评论

      本文标题:打包成exe

      本文链接:https://www.haomeiwen.com/subject/nyjjaqtx.html