pyinstaller生成exe可执行程序

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
posted @ 2017-01-21 15:50  知行Lee  阅读(472)  评论(0编辑  收藏  举报