[Tutor] cx_oracle module problems

Hansen, Mike Mike.Hansen at atmel.com
Tue Oct 7 21:07:01 CEST 2008


 

> Subject: [Tutor] cx_oracle module problems
> 
> I've downloaded the cx_oracle source module for python, howerver every
> time i try to build it, it keeps on failing. I've been unable 
> to find a
> port for Ubuntu. Is there one? Anyone know how to get this properly
> installed?
> 
> # sudo python setup.py install
> Traceback (most recent call last):
>   File "setup.py", line 36, in <module>
>     oracleHome = os.environ["ORACLE_HOME"]
>   File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
>     raise KeyError(key)
> KeyError: 'ORACLE_HOME'
> 
> 
> Link:
> http://prdownloads.sourceforge.net/cx-oracle/cx_Oracle-4.2.tar
> .gz?download	
> 
> Thanks,
> JJ
> 
> 

Did you python setup.py build first? The README.txt mentions it along the option of doing a binary install.

Mike


More information about the Tutor mailing list