Help installing cx_Oracle

后端 未结 3 1533
小蘑菇
小蘑菇 2020-12-14 02:12

I\'m trying to install the cx_Oracle for Python 2.6, but it is failing. I don\'t know enough about C or MS Vis. Studio\'s compiler to even approach fixing it myself.

<
3条回答
  •  孤城傲影
    2020-12-14 02:35

    You also need some type of Oracle client installed on your machine, since cx_Oracle is just a bridge between Python and the Oracle Client. Valid Oracle Clients include a full Oracle installation (like Standard or XE) or the Instant Client

    From the 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.

    I have not installed on Windows before, but you may have to set the ORACLE_HOME environment variable so that cx_Oracle knows where to look.

提交回复
热议问题