cx_Oracle,要找匹配py版本和oracle版本的版本
比如 cx_Oracle_py3.4_oracle12c_64位版本
或者 cx_Oracle_py3.5_oracle11g_32位
cx_Oracle-5.2.1+oci12c-cp34-none-win_amd64.whl
cx_Oracle-5.2.1+oci12c-cp35-none-win32.whl
connstr = """(DESCRIPTION =(ADDRESS_LIST =(ADDRESS =(PROTOCOL =TCP)(HOST =ip地址)(PORT =1521))) (CONNECT_DATA =(SID =MYSID)))"""
--------
11g需要3个文件
oci.dll
oraociei12.dll
oraocci11.dll
12c需要3个文件
oci.dll
oraociei12.dll
oraons.dll