`

python 使用pyinstaller安装

 
阅读更多

目前可使用python3.4 目录中的pyinstaller 生成exe文件..

在pycharm中设置方法: 打开setting ->tools->extend tools ->

设置如下:

 

C:\Python34\Scripts\pyinstaller.exe

-w -F $FileName$

C:\Users\Jerry\PycharmProjects\untitled

 

然后选中py程序,选菜单中的tools->extools ->刚才添加的菜单,执行生成..

spec文件设置:  console=True 为使用console 如果程序中使用console相关命令的,必须设置为True. 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics