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

后端 未结 5 1663
灰色年华
灰色年华 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:30

    The easiest solution is as follows:

    1. Download 64-bit version of oracle instantClient from: https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html
    2. Copy the dll files in the instantclient directory to the python directory, as shown below

    That is it!

提交回复
热议问题