473,698 Members | 2,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cx_Oracle failed to load DLL BUT versions correct

Hello

Having cx_Oracle (an Oracle database connector for Python) used it
here where I teach for the last couple of years, and finding it so
easy to use (and install) I was taken aback when I got an error
message telling me it could not load the DLL (complete message below)

Third, I've read (on activeState site) about someone else having this
problem which seemed to be resolved by correctly installing the
appropriate versions of different software piece.

BUT no 1 : I works on my portable (that has the same configuration for
OS, Python and cx)

BUT no 2: The same configuration gets the error message from our
classroom workstations -
after multiple testing, (uninstalling everything, python, Oracle,
cx_Oracle,etc) , cleaning the registry, re-installing from fresh
binaries ( Oracle works (SQL+) ) , the error stays...

HELP - Any hints, helps, things to look for, whatnot,

Many thanks in advance,

Jean-Marc
jm*********@cvm .qc.ca
Cegep du Vieux-Montreal
CONFIGURATION
windows XP professionnal, sp2 (firewall stopped)
installation in administrator mode
Oracle 10g
Python 2.3.4
pywin32-203.win32-py2.3.exe
cx_Oracle-4.1-win32-10g-py23.exe

NOTE: all files seem in the right places (cx_Oracle.pyd in
site-packages)

ERROR (taken from PythonWin interactive window)
PythonWin 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit
(Intel)] on win32.
Portions Copyright 1994-2004 Mark Hammond (mh******@skipp inet.com.au)
-
see 'Help/About PythonWin' for further copyright information.
import cx_Oracle Traceback (most recent call last):
File "<interacti ve input>", line 1, in ?
ImportError: DLL load failed: La proc閐ure sp閏ifi閑 est introuvable.

Jul 18 '05 #1
1 4559


jmdeschamps wrote:
Hello

Having cx_Oracle (an Oracle database connector for Python) used it
here where I teach for the last couple of years, and finding it so
easy to use (and install) I was taken aback when I got an error
message telling me it could not load the DLL (complete message below)

Third, I've read (on activeState site) about someone else having this
problem which seemed to be resolved by correctly installing the
appropriate versions of different software piece.

BUT no 1 : I works on my portable (that has the same configuration for
OS, Python and cx)

BUT no 2: The same configuration gets the error message from our
classroom workstations -
after multiple testing, (uninstalling everything, python, Oracle,
cx_Oracle,etc) , cleaning the registry, re-installing from fresh
binaries ( Oracle works (SQL+) ) , the error stays...

HELP - Any hints, helps, things to look for, whatnot,

Many thanks in advance,

Jean-Marc
jm*********@cvm .qc.ca
Cegep du Vieux-Montreal
CONFIGURATION
windows XP professionnal, sp2 (firewall stopped)
installation in administrator mode
Oracle 10g
Python 2.3.4
pywin32-203.win32-py2.3.exe
cx_Oracle-4.1-win32-10g-py23.exe

NOTE: all files seem in the right places (cx_Oracle.pyd in
site-packages)

ERROR (taken from PythonWin interactive window)
PythonWin 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit
(Intel)] on win32.
Portions Copyright 1994-2004 Mark Hammond (mh******@skipp inet.com.au)
-
see 'Help/About PythonWin' for further copyright information.
import cx_Oracle


Traceback (most recent call last):
File "<interacti ve input>", line 1, in ?
ImportError: DLL load failed: La proc閐ure sp閏ifi閑 est introuvable.


Have you installed any new Oracle software in this machine ? Or maybe,
have you modified the PATH environment variable ?

This error usually means that your cx_Oracle.pyd module needs to load an
Oracle DLL, but it doesn磘 find it in the directories specified in the
PATH variable, or it finds a DLL with the same name but different (and
incompatible) version.

Hope this helps

Aurelio
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
8978
by: GrayGeek | last post by:
After cx_Oracle and the related Oracle tools for Python 2.2.3 + Boa-constructor on Win2000, I added "import cx_Oracle" to the top of a test script. It gives me an error about being unable to find the OCISetDefault entry point in 'oci.dll'. Google says nothing about this error, and neither does the cx_Oracle author. Anyone have a solution for this problem? --
1
5235
by: Benson, John | last post by:
Hi, I'm a non-Oracle guy just starting to use Python to explore Oracle. I enclose the Python command prompt log for the usage example further down with only the user, password and host names changed to keep me out of trouble. But first, I'd like to point out that I'm able to logon to myhost, and get into the following via SQL*Plus using myuser/mypassword Oracle8i Enterprise Edition Release 8.1.7.3.0 - Production With the Partitioning...
8
6268
by: Rodrigo Daunaravicius | last post by:
I can't get this configuration working: cx_Oracle 4.0.1 Oracle 8.0.6 Python 2.3.3 Win NT4.0 SP6fc My first shot at the problem was just running the installation thingie pre-built for win32/python2.3/Oracle8i. It installed with no complaints but I can't import the module (can't find OCIEnvCreate entry point in the OCI.dll library).
2
6967
by: Mike Stenzler | last post by:
Does anyone have any sample code for the cx_Oracle library? www.computronix.com I have the doco and can connect and do simple ops against my database but I'm struggling with the correct syntax for implementing bind variables with a cursor. TIA
5
3832
by: Daniel | last post by:
Hello from Brazil :-) I'm trying to bring cx_Oracle alive on my Python 2.4.1 @ HP-UX 11 (suckz) and Oracle 10.1.0 64bits without success I've already tryied the suggestions from Bernard Delm閑 and Martin v. L鰓is (topic "Python 2.3b1 + cx_oracle 3.0 on HP-UX"), but it didn't work, even when I recompiled Python with the "-lc -lpthread" options. The result was:
1
2446
by: ywhpaul | last post by:
下載安裝 cx_Oracle (Oracle 9i, Python 2.4) 版本安裝於windows xp 在python目錄下產生C:\Python24\cx_Oracle-doc目錄當 >>> import cx_Oracle 出現 Traceback (most recent call last): File "<interactive input>", line 1, in ? ImportError: DLL load failed: 找不到指定的模組。 找不到問題如何解決, help me
7
14710
by: Carl K | last post by:
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
1
2592
by: Lukas Ziegler | last post by:
Hi, I want to get an access to an oracle database. For that I found the module cx_oracle (http://www.python.net/crew/atuining/cx_Oracle/) and I have installed the version 'Windows Installer (Oracle 10g, Python 2.5)'. Now I tried to run the script in the readme file: ------------------------------------------------------------------- import cx_Oracle
3
4844
by: Benjamin Hell | last post by:
Hi! I have a problem with the cx_Oracle module (Oracle database access): On a computer with cx_Oracle version 4.1 (Python 2.4.3, Oracle 10g) I can get query results consisting of strings including non-ASCII characters, e.g. the code example below outputs " 0xe9" (which is the correct ISO-8859-1 hex code for ""). On a newer installation with cx_Oracle 4.3.3 (Python 2.5.1, connecting to the same Oracle 10g server) these characters are...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we抣l explore What is ONU, What Is Router, ONU & Router抯 main usage, and What is the difference between ONU and Router. Let抯 take a closer look ! Part I. Meaning of...
1
8893
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7721
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project梡lanning, coding, testing, and deployment梬ithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4615
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3045
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.