12/2/2023 0 Comments Anaconda navigatorfor mac![]() cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: "dlopen. I have created a sample Python script for Oracle Database connectivity for running queries for Database testing, I have ran the same script on Windows and its running fine but while running on Mac, its showing me this exception again and again. As you can see we have the 64 bit client installed, RF DatabaseLibrary installed. Python 3.7.3 cx_Oracle 7.3.0 Robot Framework DatabaseLibrary installed. DPI-1047: Cannot locate a 32-bit Oracle Client library: "C:\Software\Oracle\product\12201_Client64\bin\oci.dll is not the correct architecture". python -m pip install cx_Oracle –upgrade Now Just download Oracle Basic Client and Extract It. To Solve DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: “The specified module could not be found” First of all install install cx_Oracle using this command. This has a universal binary package for Apple, and doesn't need Oracle Instant Client (it's optional, see the doc), so you don't necessarily need to use Rosetta. It got renamed to python-oracledb, see the release announcement. M1 users can easily use the latest release of cx_Oracle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |