Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/295.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何在cPanel上安装Oracle客户端库_Python_Django_Oracle_Cpanel - Fatal编程技术网

Python 如何在cPanel上安装Oracle客户端库

Python 如何在cPanel上安装Oracle客户端库,python,django,oracle,cpanel,Python,Django,Oracle,Cpanel,我创建了Python应用程序Trow cPanel,并将数据库设置为与AWS上的Oracle DB连接。此应用程序在localhost上完美运行。但在主机上,它缺少Oracle客户端库,错误为: Oracle Client library cannot be loaded: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc

我创建了Python应用程序Trow cPanel,并将数据库设置为与AWS上的Oracle DB连接。此应用程序在localhost上完美运行。但在主机上,它缺少Oracle客户端库,错误为:

Oracle Client library cannot be loaded: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracle.github.io/odpi/doc/installation.html#linux for help

如何在此情况下安装Oracle客户端库。我是一个新手。我想在cPanel上修复它。

我不知道是否可以使用cPanel安装Oracle客户端

我建议您使用SSH连接到安装应用程序的服务器,然后安装Oracle客户端

不要忘记设置环境变量“ORACLE\u HOME”和“LD\u LIBRARY\u PATH”

有用链接:


感谢您的帮助可能会重复。