Pyinstaller-封装python

1. 当程序中没有调用matplotlib模块orm

  ① pip intall pyinstallerip

  ② 在cmd环境下,pyinstaller -F  xxx.pyutf-8

2.当程序中调用matplotlib模块cmd

  ①pip install pyinstallerpip

  ②在cmd环境下,chcp 65001 切换utf-8form

  ③将D:\Anaconda2\Library\plugins\platforms文件夹拷贝放到和.exe同一路径下plugin