Re: Re: [cx-oracle-users] Installation problem on mandrake 9.2
Brought to you by:
atuining
From: Anthony T. <an...@co...> - 2004-01-16 18:47:37
|
You need to have your Oracle client installed. If you have it installed, make sure the environment variable ORACLE_HOME points to the correct location. On Fri, 2004-01-16 at 11:48, chr...@ne... wrote: > Anthony, > > Thanks. When I run the setup.py build, I get the following error message: > > Traceback (most recent call last): > File "setup.py", line 34, in ? > oracleHome = os.environ["ORACLE_HOME"] > File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__ > def __getitem__(self, key): return self.data[key] > KeyError: 'ORACLE_HOME' > > Thanks again, > Chris > > ----- Original Message ----- > From: Anthony Tuininga > Sent: 1/16/2004 7:21:00 AM > To: ch...@ja... > Cc: cx-...@li... > Subject: Re: [cx-oracle-users] Installation problem on mandrake 9.2 > > > Try executing the following: > > > > rpm -qa | grep cx_Oracle > > > > and see if anything turns up. If so, execute the following: > > > > rpm -ql cx_Oracle > > > > and note where the files are located. It is possible that your Python > > installation and the cx_Oracle RPM are not compatible -- your Python > > executes in /usr/local/bin but the cx_Oracle RPM expects a Python from > > /usr/bin. > > > > If the RPM doesn't work for you, you should be able to download the > > source and execute (from within the directory where the source was > > extracted): > > > > python setup.py build > > python setup.py install > > > > and that should install it for you. > > > > Hope that helps. > > > > On Thu, 2004-01-15 at 18:00, Christopher Abrams wrote: > > > Hello cx-oracle-users, > > > > > > I'm having trouble installing cx_Oracle 4.0 on a Mandrake 9.2 box. I > > > am fairly new to Mandrake and Linux in general. I've tried to search > > > for a package for cx_Oracle using drakconf (urpmi), but I haven't had > > > any luck. I've also searched around the web for some help. I > > > downloaded the rpm from the cx_Oracle page, but when I rpm -i the > > > package doesn't seem to get installed. I also don't get any error > > > messages. If anyone knows of anything that would help, it would be > > > greatly appreciated. > > > > > > Thanks, > > > Chris > > > > > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by EclipseCon 2004 > > > Premiere Conference on Open Tools Development and Integration > > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > > http://www.eclipsecon.org/osdn > > > _______________________________________________ > > > cx-oracle-users mailing list > > > cx-...@li... > > > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > -- > > Anthony Tuininga > > an...@co... > > > > Computronix > > Distinctive Software. Real People. > > Suite 200, 10216 - 124 Street NW > > Edmonton, AB, Canada T5N 4A3 > > Phone: (780) 454-3700 > > Fax: (780) 454-3838 > > http://www.computronix.com > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > cx-oracle-users mailing list > > cx-...@li... > > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users -- Anthony Tuininga an...@co... Computronix Distinctive Software. Real People. Suite 200, 10216 - 124 Street NW Edmonton, AB, Canada T5N 4A3 Phone: (780) 454-3700 Fax: (780) 454-3838 http://www.computronix.com |