install cx_oracle for python

后端 未结 11 1763
逝去的感伤
逝去的感伤 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 04:48

    I think it may be the sudo has no access to get ORACLE_HOME.You can do like this.

    sudo visudo

    modify the text add

    Defaults env_keep += "ORACLE_HOME"

    then

    sudo python setup.py build install

提交回复
热议问题