Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

no module named cx_oracle

don123Mar 18 2016 — edited Apr 14 2016

I have downloaded and installed (cx_Oracle-5.2.1-11g.win32-py2.7.exe) and able to use this module in pyscripter to connect and get data from oracle.

But when i used python IDLE (python GUI) and import cx_oracle fails.

Do i need to set environment variable for this ? But the installation directory does not contain any .py files.

Please suggest me.

Comments

Check that PATH is set to contain the Oracle client libraries when you are running IDLE, the same way that is already set when using pyscripter.

745775e9-f9c6-48fd-ab85-0409ea5f65f7

Try importing cx_Oracle . Notice the 'O'.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 12 2016
Added on Mar 18 2016
2 comments
7,387 views