Link to home
Avatar of Scarlett72
Scarlett72

asked on

Cannot connect to Oracle database, python not recognizing cx_Oracle

Hi I am trying to connect to an Oracle Database using pycharm as my IDE.  I've downloaded and installed the cx_oracle from https://pypi.python.org/pypi/cx_Oracle/5.3 

However when I try to run:

import cx_Oracle, I receive an import error, and am completely stuck as to what to do next.  Any help will be appreciated.

User generated image
ASKER CERTIFIED SOLUTION
Avatar of JesterToo
JesterToo
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Scarlett72
Scarlett72

ASKER

Hi wanted to follow up.  Firstly I should have posted more info like I'm on Windows 10, and 64 bit.  
This link helped me immensely:  Stack Exchange
The key for me was installing the 64 bit version of python, the 64 bit cx_Oracle dll and pointing the windows environment variable path values to the correct directory location.  Thanks for posting back JesterToo.