QGIS - 3.0.1
I am trying to connect to the Oracle database. I am not an expert in QGIS, pyqgis at all. I took help of following code to connect to Oracle database. Connecting directly to an Oracle Database using PyQGIS
I used the above code using my hostname, port, database name, username and password.
I get following message when I run the code through OsGeo4W shell.
C:\Program Files\QGIS 3.0\bin>python-qgis.bat "C:\Arundhati\Automation Test Scri pt\Radio Signal\QGIS_Test_Run3.py" Oracle driver not available QSqlDatabase: QOCI driver not loaded QSqlDatabase: available drivers: QOCISPATIAL QOCISPATIAL8 QSPATIALITE QSQLITE QM YSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7 Could not open connection. QSqlQuery::exec: database not open
How to install the QOCI driver? I couldn't find any help online.