问题是树莓派和Oracle数据库之间的链接。我们现在已经尝试了很多东西,但问题并没有解决。从树莓派通过网络下载oracleinstantclient-32bit Basic文件和sqlplus文件后,解压文件集合并设置绝对路径导出LD_LIBRARY_PATH
等PATH
。但总是:
cx_Oracle.DatabaseError: DPI-1047: Canot location a 32-bit Oracle Client library: "libclntsh.so: cannot open shared object file or directory". See https://oracle.github.Issues such as io/odpi/doc/installation.html#linux for help.
我想通过 Raspberry Pi 的 QUERY 语句从 Python 访问 Oracle DB。