'How can i host my flask oracle Autonomous Databases in heroku

I created flask app and here i used oracle autonomous database.

cx_Oracle.init_oracle_client(lib_dir="instantclient_19_8")

connection = cx_Oracle.connect(user="abc", password="abc", dsn="abc")
cursor = connection.cursor()

and get the connection in the above way.I can run the app locally without any error and i followed https://www.oracle.com/database/technologies/appdev/python/quickstartpython.html#second-option-tab steps which are mention in the link. but when i try to deploy it in heroku getting error.

cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "instantclient_19_8/libclntsh.so: cannot open shared object file: No such file or directory". See https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html for help

anyone can suggest me to best platform for host this or, how can i resolve this.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source