Re: [cx-oracle-users] Re: DLL Error - python 2.4, Oracle 8.1.7, cx_Oracle 4.1.2, Win XP SP2 (JP Glut
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2006-02-08 15:51:03
|
On Windows, ORACLE_HOME does not need to be set and can in fact cause difficulties. The directory given seems to imply an Oracle 8 installation. Have you tried using the cx_Oracle 8i version? On 2/8/06, JP Glutting <jpg...@gm...> wrote: > I added ORACLE_HOME and I get the same error, so that does not seem to be > the problem. > > Cheers, > JP > > > On 2/8/06, JP Glutting < jpg...@gm...> wrote: > > I don't have ORACLE_HOME defined on this computer, but C:\\orant\bin\ i= s > the first thing in the path. > > > > Does cx_Oracle depend on ORACLE_HOME being defined? > > > > > > > > On 2/8/06, Henning von Bargen <H.v...@t-...> wrote: > > > Please try the following on the python command line: > > > > > > import os > > > for n in sorted(os.environ.keys()): > > > print "%s=3D%s" % (n, os.environ[n]) > > > import cx_oracle > > > > > > Then take a look at the values of > > > PATH and ORACLE_HOME. > > > > > > This is to see which version of oci.dll python is > > > actually trying to load. > > > The %ORACLE_HOME%\bin directory should be the first in PATH. > > > > > > Henning > > > > > > > > > > > And I did the import from the command line. I am not sure > > > > what you mean by > > > > "a window" showing the problem, but here is the traceback: > > > > > > > > >>> import cx_Oracle > > > > Traceback (most recent call last): > > > > File "<interactive input>", line 1, in ? > > > > ImportError: DLL load failed: No se encontr=3DF3 el proceso > > > > especificado. > > > > >>> > > > > > > > > Cheers, > > > > JP > > > > > > > > > > > > |