error when connecting oracle in python using cx_Oracle

前端 未结 4 1817
耶瑟儿~
耶瑟儿~ 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:07

    This seems a problem with version 6.X.This problem didnot appeared in 5.X.But for my case a little workaround worked.I installed in my physical machine and only thing that i need to do was a pc reboot or reopen the terminal as i have added in the path of environment variables.You can try to install in physical machine instead using azure notebooks.

提交回复
热议问题