Python module “cx_Oracle” module could not be found

前端 未结 4 1561
面向向阳花
面向向阳花 2020-12-03 15:24

I recently installed cx_Oracle module on my machine, in order to connect to a remote Oracle database server. (I have no Oracle client at my side).

  • Python: Ver
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 16:07

    Yes, you have to have an Oracle client installed at your side.

    From the cx_ORacle README

    "Please note that an Oracle client (or server) installation is required in order to use cx_Oracle. If you do not require the tools that come with a full client installation, it is recommended to install the Instant Client which is far easier to install."

    EDIT link to Instant Client: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

提交回复
热议问题