Re: [cx-oracle-users] Error while trying to import cx_Oracle
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2016-01-19 23:29:54
|
Hi Saurabh, One possibility is that your Oracle client doesn't match the installation of cx_Oracle that you selected. You need to make sure that you are using the 64-bit Oracle 11.2 instant client or equivalent Oracle Database installation. Are you able to use SQL*Plus to connect to the database? Anthony On Tue, Jan 19, 2016 at 12:09 PM, Saurabh Kumar <sa...@le...> wrote: > This is the error message : > > > > --------------------------------------------------------------------------- > > ImportError Traceback (most recent call last) > > <ipython-input-3-5ff1bac0ae2a> in <module>() > > ----> 1 import cx_Oracle; > > > > ImportError: DLL load failed: The specified module could not be found. > > > > I am trying to import cx_Oracle into my Python 2.7 environment from within > Anaconda’s iPython Notebook. I am on a Windows 7 machine. The import keeps > failing despite installing the msi cx_Oracle-5.1.2-11g.win-amd64-py2.7 . Do > you know what is the possible fix to this problem ? > > > > All I want to do is be able to connect to an Oracle database and be able > to execute SQL script via Python. I am attempting to automate a SQL code > block run that could help me generate csv files. > > > > > > ------------------------------ > DISCLAIMER: The information transmitted is intended only for the person or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, re-transmission, dissemination or other > use of, or taking of any action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. If you > received this in error, please contact the sender and destroy any copies of > this document and any attachments. > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |