Python3.7使用PyInstaller在Mac和Win10下编译可执行文件
一、安装
终端安装: pip install pyinstaller
(注意python版本)
PyCharm安装:files->settings->Project Interpreter 右侧边栏点击+号,搜索安装pyinstaller。
注意:
1.最好不要使用Anaconda3的环境,因为默认的库太多了,后期打包会疯狂报错。
2.用多少库import多少库,不然你的可执行文件会...
原创
2019-04-17 10:16:12 ·
6604 阅读 ·
1 评论