installing cx_Oracle.
Diez B. Roggisch
deets at nospam.web.de
Thu May 24 09:15:57 EDT 2007
Carl K schrieb:
> I am trying to use this:
> http://python.net/crew/atuining/cx_Oracle/html/cx_Oracle.html
> it is a real module, right?
>
> sudo easy_install cx_Oracle did not easy_install cx_Oracle.
>
> http://www.python.org/pypi/cx_Oracle/4.3.1 doesn't give me any clue.
>
> I got the source from
> http://prdownloads.sourceforge.net/cx-oracle/cx_Oracle-4.3.1.tar.gz?download
>
>
> carl at dell17:~/a/cx_Oracle-4.3.1$ python setup.py build
> Traceback (most recent call last):
> File "setup.py", line 36, in ?
> oracleHome = os.environ["ORACLE_HOME"]
> File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
> def __getitem__(self, key): return self.data[key]
> KeyError: 'ORACLE_HOME'
yours. because you need the oracle OCI with libs and header files
installed + the environment variable ORACLE_HOME pointing to the
installation.
I suggest you download the appropriat oracle instant client for your system.
Diez
More information about the Python-list
mailing list