Skip to content

DPI-1049 symbol OCIClientVersion not found in OCI library #80

@nmmassey2

Description

@nmmassey2

I've installed Python, Oracle Instant Client (12.2) and cx_Oracle (using pip) onto a 32-bit windows 7 machine and am trying to connect my python instance to my Oracle database. When I try to connect using the following code

import cx_Oracle
cx_Oracle.clientversion()

db1 = cx_Oracle.connect('username/pw//hostURL:port/serviceName')

, I receive the following error:
"DatabaseError: DPI-1049: symbol OCIClientVersion not found in OCI library"

I've installed the appropriate instant client containing the .dll files needed. I've set the PATH variable to point to this folder. Could you please advise how to connect?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions