cx_Oracle.InterfaceError: Unable to acquire Oracle environment handle

浪子不回头ぞ 提交于 2019-12-06 04:34:31

问题


I trying to build a binary using pyinstaller in a Linux environment. I've installed cx_Oracle. When I ran the script it runs fine without any error. However, after building the binary (I use anaconda python package and pyinstaller) when I run the binary it throws me the following error. Could anyone shed some light on this?

I've surfed the issues that discuss py2exe and the same problem, however I couldn't get anything which I can understand as my case is linux and pyinstaller.

Following is the error:

LOADER: extracted pyi_importers LOADER: Installing import hooks LOADER: out00-PYZ.pyz LOADER: Running scripts Traceback (most recent call last): File "", line 41, in cx_Oracle.InterfaceError: Unable to acquire Oracle environment handle LOADER: RC: -1 from pp LOADER: OK. LOADER: Cleaning up Python interpreter.

来源:https://stackoverflow.com/questions/29314684/cx-oracle-interfaceerror-unable-to-acquire-oracle-environment-handle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!