install cx_oracle for python

后端 未结 11 1855
逝去的感伤
逝去的感伤 2021-01-30 04:27

Am on Debian 5, I\'ve been trying to install cx_oracle module for python without any success. First, I installed oracle-xe-client and its dependency (followed tutorial in the fo

11条回答
  •  悲&欢浪女
    2021-01-30 05:05

    Alternatively you can install the cx_Oracle module without the PIP using the following steps

    1. Download the source from here https://pypi.python.org/pypi/cx_Oracle [cx_Oracle-6.1.tar.gz ]
    2. Extract the tar using the following commands (Linux)

      gunzip cx_Oracle-6.1.tar.gz

      tar -xf cx_Oracle-6.1.tar

    3. cd cx_Oracle-6.1

    4. Build the module

      python setup.py build

    5. Install the module

      python setup.py install

提交回复
热议问题