cx_Oracle error. DPI-1047: Cannot locate a 64-bit Oracle Client library

后端 未结 5 1636
灰色年华
灰色年华 2020-12-10 04:43

I installed the library and when trying to access SQL in jupyter notebook with my credentials the following error appears:

DatabaseError: DPI-1047: Cannot locate a 6

5条回答
  •  时光说笑
    2020-12-10 05:20

    I suggest you to first check the compatibility of your OS, Python and Oracle Instant Client architecture:

    import platform
    platform.architecture()
    

    Then, I definitely advise you to set the Oracle Instant Client inside your jupyter notebook:

    import os
    os.environ["PATH"] = "Complete Location of Instant Client Folder" + ";" + os.environ["PATH"]
    

提交回复
热议问题