python 中 cx_Oracle 的使用

1. pip install cx_Oracle

2. 安裝oracle instantclient

https://www.oracle.com/database/technologies/instant-client/downloads.html

選擇合適的平臺

在windows平臺上將壓縮包解壓到某個目錄,然後將目錄添加到PATH中即可。

 

參考:

https://oracle.github.io/python-cx_Oracle/

https://cx-oracle.readthedocs.io/en/latest/user_guide/installation.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章