Re: [Tutor] cx_oracle module problems

2009-07-07 Thread M8R-sjkk73
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 s

Re: [Tutor] cx_oracle module problems

2008-10-07 Thread Hansen, Mike
>>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 >> raise DistutilsSetupError, "cannot locate an Oracle software >>installation" >>distutils

Re: [Tutor] cx_oracle module problems

2008-10-07 Thread jeremiah
I'm working on a shared box and was told it was installed. How can i verify installation? 'which oracle' does not return any results. Also, nothing in /etc/init.d or /usr/bin JJ On Tue, 2008-10-07 at 14:32 -0700, W W wrote: > On Tue, Oct 7, 2008 at 4:30 PM, jeremiah > <[EMAIL PROTECTED]> wrote:

Re: [Tutor] cx_oracle module problems

2008-10-07 Thread W W
On Tue, Oct 7, 2008 at 4:30 PM, jeremiah <[EMAIL PROTECTED]>wrote: > 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 >raise DistutilsSetupError, "cannot loc

Re: [Tutor] cx_oracle module problems

2008-10-07 Thread jeremiah
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 raise DistutilsSetupError, "cannot locate an Oracle software installation" distutils.errors.DistutilsSetupError: cannot

Re: [Tutor] cx_oracle module problems

2008-10-07 Thread Alan Gauld
"jeremiah" <[EMAIL PROTECTED]> wrote port for Ubuntu. Is there one? Anyone know how to get this properly installed? # sudo python setup.py install File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'ORACLE_HOME' Given the error message, do you ha

Re: [Tutor] cx_oracle module problems

2008-10-07 Thread Jerry Hill
On Tue, Oct 7, 2008 at 2:46 PM, jeremiah <[EMAIL PROTECTED]> 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? >

Re: [Tutor] cx_oracle module problems

2008-10-07 Thread Hansen, Mike
> 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 prope

[Tutor] cx_oracle module problems

2008-10-07 Thread jeremiah
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 "se