在Debian 5,我一直在试图安装cx_oracle模块为python没有任何成功。首先,我安装了oracle-xe-client及其依赖(在下面的链接
here中教程)。
@H_502_14@然后,我使用/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin中的脚本来填充环境变量,例如PATH,ORACLE_HOME和NLS_LANG。
一旦,这完成了,我试图运行:
sudo easy_install cx_oracle
但我不断得到以下错误:
Searching for cx-oracle Reading http://pypi.python.org/simple/cx_oracle/ Reading http://cx-oracle.sourceforge.net Reading http://starship.python.net/crew/atuining Best match: cx-Oracle 5.0.4 Downloading http://prdownloads.sourceforge.net/cx-oracle/cx_Oracle-5.0.4.tar.gz?download Processing cx_Oracle-5.0.4.tar.gz Running cx_Oracle-5.0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-xsylvG/cx_Oracle-5.0.4/egg-dist-tmp-8KoqIx error: cannot locate an Oracle software installation
任何想法,我错过了这里?