error when connecting oracle in python using cx_Oracle

前端 未结 4 1840
耶瑟儿~
耶瑟儿~ 2021-01-19 16:29

I was trying to connect oracle database using python like below.

import cx_Oracle
conn = cx_Oracle.connect(\'user/password@host:port/database\')
4条回答
  •  长情又很酷
    2021-01-19 17:06

    That error indicates that you are missing a 64-bit Oracle client installation or it hasn't been configured correctly. Take a look at the link mentioned in the error message. It will give instructions on how to perform the Oracle client installation and configuration.

提交回复
热议问题