简体   繁体   中英

cx_Oracle: ImportError: DLL load failed: The specified procedure could not be found

I have suddenly got a problem that I can no longer import cx_Oracle in python. I know that a lot of people have had a similar error message as mine, which is: The specified PROCEDURE could not be found. I was wondering if there are any ways to trouble shoot this problem.

I'm running

- instantclient_12_1 
- python 3.4 64 bit
- cx_Oracle-5.2.1-12c.win-amd64-py3.4.exe

I have set the path and ORACLE_HOME environment variables to mmy instaclint 12_1 folder.

What else could be the problem? The dependency walker shows the following:

在此处输入图片说明

Does this mean that it doesn't find OCI.DLL? This file is definitely in the instaclient_12_1 folder which is listed in both ORACLE_HOME and PATH environment variable.

Please install according to Instant Client 12.1 requirement from https://www.oracle.com/de/database/technologies/instant-client/winx64-64-downloads.html

the required Visual Studio VS 2010 redistributable libraries for VS2010 SP1 and C++

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

and bounce machine

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM