Cx_Oracle.InterfaceError: Unable to get Oracle environment processing

I am trying to create a binary using pyinstaller on a Linux environment. I installed cx_Oracle. When I ran the script, it worked fine, without errors. However, after creating the binary (I use the anaconda python and pyinstaller package), when I run the binary, it causes the following error. Can anyone shed some light on this?

I looked at the problems discussing py2exe and the same problem, however I could not get anything that I could understand, since my case is Linux and pyinstaller.

The following is the error:

LOADER: extracted pyi_importers LOADER: setting import hooks LOADER: out00-PYZ.pyz LOADER: running Traceback scripts (last last call): File "", line 41, in cx_Oracle.InterfaceError: unable to get Oracle environment processing LOADER: RC: -1 by pp LOADER: Good. LOADER: cleaning up the Python interpreter.

+4
source share

All Articles