mac使用pycharm启动django项目时报错:"django.db.utils.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",
搜索发现需要安装oracle客户端[下载地址]:(https://www.oracle.com/technetwork/cn/database/features/instant-client/index-092699-zhs.html)
下载后解压放至下文中的文件夹,添加相应的环境变量即可正常连接oracle数据库:
mac下oracle客户端的安装:(https://blog.csdn.net/weixin_41767649/article/details/80627034)
网友评论