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
>>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
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:
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
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
"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
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?
>
> 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
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