1安装
略
2执行
pyinstaller –F test.py
报错: Pyinstaller: cx_Oracle.InterfaceError: Unable to acquire Oracle environment handle
解决:pyinstaller生成的spec文件,编辑a.binaries+[('oraociei11.dll','D:\oracle11\instantclient_11_2\oraociei11.dll','BINARY')],
再对spec文件执行pyinstaller