python3.6打包exe

来源:互联网 发布:mysql服务器 编辑:程序博客网 时间:2024/06/06 11:37

使用python的最新版本时,pyinstaller是不支持的。

所以在http://www.pyinstaller.org/下载的pyinstaler不能实现打包exe文件的工作。

解决办法是在http://www.pyinstaller.org/下载zip文件,

将其中的Pyinstaller文件夹替换到之前安装的目录中。

例如我的目录为:C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\Lib\site-packages

将该目录下的Pyinstaller文件夹删除,把刚刚解压的文件夹复制到这里就好了。

原创粉丝点击