1、查看python版本号
2、下载并安装对应python版本的cx_Oracle
搜索地址:https://pypi.python.org/pypi
搜索cx_Oracle,地址:https://pypi.org/project/cx_Oracle/#files
安装轮子文件:
pip install cx_Oracle-8.0.0-cp37-cp37m-win_amd64.whl
3、百度下载instantclient并解压到一个目录下
下载地址:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
Python连接oracle数据库
最新推荐文章于 2024-07-23 13:14:47 发布