Re: [cx-oracle-users] DLL Error - python 2.4, Oracle 8.1.7, cx_Oracle 4.1.2, Win XP SP2
Brought to you by:
atuining
From: JP G. <jpg...@gm...> - 2006-02-08 08:06:08
|
Thanks for the response. I am using the correct version of cx_Oracle, I saw in some earlier posts that the 9i version makes calls to different features= . That is why I was surprised by the error - I guess the dll could be from an even earlier version of Oracle. The information about oraclient9.dll is interesting. Do you know of any way of testing the oci.dll (not ori.dll) file independently of python, to see if it is the right version to connect to the Oracle server? 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=F3 el proceso especificado. >>> Cheers, JP On 2/7/06, Amaury Forgeot d'Arc <ama...@gm...> wrote: > > 2006/2/7, JP Glutting <jpg...@gm...>: > > I am having the same problem loading the ori.dll that some other people > have > > mentioned on various lists, but I have not seen a solution anywhere. > > BTW, the file is named oci.dll. > > > I have > > Oracle SQL Plus installed on this PC (I didn't install it myself, it > came to > > me second hand), and the ori.dll is in C:\orant\BIN, which is also on > the > > path. > > > > When I import cx_Oracle I get this error: > > > > "ImportError: DLL load failed: No se encontr=F3 el proceso especificado= ." > (the > > computer is mostly Spanish, but it says it has not found the specified > > process). > > > > Did you try running "import cx_Oracle" from the command line? Usually > you get a window showing the exact problem. > A cause could be that you installed a cx_Oracle compiled for Oracle > 9i. Then the error is something like "could not find entry point xxx", > where xxx is a 9i-only feature. > > > SQL Plus connects to the Oracle server without problems. > sql*plus does not use the OCI.dll library. It directly links to lower > level files (such as oraclient9.dll) > > -- > Amaury Forgeot d'Arc > > |