File "/Users/lukezhi/Lucas/Lucas-Projects/PythonProj/hongDaoProjects/symptomCluster/extract_Dis_Sym_Umls.py", line 8, in <module>
conn=cx_Oracle.connect('umls/umls733@211.71.76.139:1521/orcl') #连接数据库
cx_Oracle.DatabaseError: DPI-1047: 64-bit Oracle Client library cannot be loaded: "dlopen(libclntsh.dylib, 1): image not found". See https://oracle.github.io/odpi/doc/installation.html#macos for help
解决方法:
1:确保你的python安装好了cx_Oracle;
2:打开https://oracle.github.io/odpi/doc/installation.html#macos,点击here,然后进入去下载oracle instant client zip文件
我这里下载的是64位版本: