|
小弟的系统环境:rh9+oracle9.2 client+python2.3
从网站下载cx_Oracle-4.1.tar.gz
# tar vxzf cx_Oracle-4.1.tar.gz
# cd cx_Oracle-4.1
# python setup.py build install
报错内容为:
Traceback (most recent call last):
File "setup.py", line 34, in ?
oracleHome = os.environ["ORACLE_HOME"]
File "/usr/local/python-2.3.4/lib/python2.3/UserDict.py", line 19, in __getitem__
def __getitem__(self, key): return self.data[key]
oracle安装主目录的环境变量在安装时已经设定,这里的报错是什么原因,看过UserDict.py没有找到和oracle_home有关的内容,在网上和cx_oracle文档也没有找到相关内容,急!请各位老大帮忙啊!! :!! |
|