[Tutor] cx_oracle module problems

M8R-sjkk73 M8R-sjkk73 at mailinator.com
Tue Jul 7 14:54:02 CEST 2009


The $ORACLE_HOME variable probably isn't set for root.  Try passing sudo the
$ORACLE_HOME variable.

sudo env ORACLE_HOME=$ORACLE_HOME python setup.py install
 - or -
sudo env ORACLE_HOME=/path/to/instantclient python setup.py install




Jeremiah Jester wrote:
> 
> 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
> 
> 
> 
> Disclaimer: The information contained in this transmission, including any 
> attachments, may contain confidential information of Panasonic Avionics
> Corporation.  This transmission is intended only for the use of the 
> addressee(s) listed above.  Unauthorized review, dissemination or other
> use 
> of the information contained in this transmission is strictly prohibited. 
> If you have received this transmission in error or have reason to believe 
> you are not authorized to receive it, please notify the sender by return 
> email and promptly delete the transmission.
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 
View this message in context: http://www.nabble.com/cx_oracle-module-problems-tp19864731p24372780.html
Sent from the Python - tutor mailing list archive at Nabble.com.



More information about the Tutor mailing list