1、点击底部的【Terminal】打开终端,中输入命令pip install pyinstaller后回车开始安装
2、输入命令 pyinstaller --console --onefile python_name.py
3、成功后在工程目录下/dist文件夹中会有打包好的exe文件
1、点击底部的【Terminal】打开终端,中输入命令pip install pyinstaller后回车开始安装
2、输入命令 pyinstaller --console --onefile python_name.py
3、成功后在工程目录下/dist文件夹中会有打包好的exe文件
本文标题:Pycharm打包EXE
本文链接:https://www.haomeiwen.com/subject/xcqgkktx.html
网友评论