Hi I am getting below error when trying to connect to Oracle from python.
Traceback (most recent call last):
File "C:\Python34\Scripts\OraConnect.py", line 1, in <module>
import cx_Oracle
ImportError: No module named 'cx_Oracle'
Hi I am getting below error when trying to connect to Oracle from python.
Traceback (most recent call last):
File "C:\Python34\Scripts\OraConnect.py", line 1, in <module>
import cx_Oracle
ImportError: No module named 'cx_Oracle'
cx_Oracle was obsoleted several years ago by python-oracledb. So the "correct" solution now is to use python -m pip install oracledb. Also see https://medium.com/gitconnected/what-is-the-difference-between-cx-oracle-and-python-oracledb-d2887336f75a