cx_Oracle: distutils.errors.DistutilsSetupError: cannot locate Oracle include files even with SDK

ε祈祈猫儿з 提交于 2019-12-06 01:15:41

Well, after lot of trial and errors it turns out the problem was that I had these two Oracle client libraries I used to separate an "encryption required" and "encryption not required" client. As soon as I removed the second one, the cx_Oracle installed just worked.

/usr/lib/oracle/11.2/client64

/usr/lib/oracle/11.2.99/client64

It is a shame, that Oracle doesn't have a way to set encryption PER CONNECTION, only can be set for the whole client, so I need two clients if I want to connection sometimes on an encrypted way and sometimes with no encryption.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!