OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Python cx_Oracle "32-bit Oracle Client library cannot be loaded: "The specified module could not be found""

  • Thread starter Thread starter Alen Liu
  • Start date Start date
A

Alen Liu

Guest
I downloaded the Oracle Instant Client and specified the Path in environment variable as in the first screenshot.
enter image description here


cx_Oracle is imported successfully as shown in the second screenshot.
enter image description here


I was trying to connect to Oracle DB hosted in AWS using the code as below:
enter image description here


The log message returns:

32-bit Oracle Client library cannot be loaded: "The specified module could not be found".

Is my argument for cx_Oracle.connect or my path in the environment variables wrong? Python, WHL and Instant Client are all 32-bits.
<p>I downloaded the Oracle Instant Client and specified the Path in environment variable as in the first screenshot.
<img src="https://i.sstatic.net/rL6S5.png" alt="enter image description here"></p>

<p>cx_Oracle is imported successfully as shown in the second screenshot.
<img src="https://i.sstatic.net/zVlfv.png" alt="enter image description here"></p>

<p>I was trying to connect to Oracle DB hosted in AWS using the code as below:
<img src="https://i.sstatic.net/z4NkJ.png" alt="enter image description here"> </p>

<p>The log message returns:</p>

<blockquote>
<p>32-bit Oracle Client library cannot be loaded: "The specified module could not be found".</p>
</blockquote>

<p>Is my argument for <code>cx_Oracle.connect</code> or my path in the environment variables wrong? Python, WHL and Instant Client are all 32-bits.</p>
 
Top