[Tutor] cx_oracle module problems

jeremiah jeremiah.jester at panasonic.aero
Tue Oct 7 23:30:57 CEST 2008


Got it. Thanks.

When i try 'python setup.py build' i get the following error.

$ sudo python setup.py build
Traceback (most recent call last):
  File "setup.py", line 72, in <module>
    raise DistutilsSetupError, "cannot locate an Oracle software
installation"
distutils.errors.DistutilsSetupError: cannot locate an Oracle software
installation


Thoughts?

Thanks,
JJ

On Tue, 2008-10-07 at 12:27 -0700, Jerry Hill wrote:
> On Tue, Oct 7, 2008 at 2:46 PM, jeremiah
> <jeremiah.jester at panasonic.aero> 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'
> 
> It looks to me like it expects you to already have the oracle client
> libraries installed, since it's looking for the 'ORACLE_HOME'
> environment variable.
> 
> --
> Jerry
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
> 
> 


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.




More information about the Tutor mailing list