【Python】连接到Oracle数据库的前奏:安装cx_Oracle

2022/1/23 19:06:34

本文主要是介绍【Python】连接到Oracle数据库的前奏:安装cx_Oracle,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

我的Python版本:3.10.2

cx_Oracle所在网页:https://pypi.org/project/cx-Oracle/#files

我下载的版本:cx_Oracle-8.3.0-cp310-cp310-win_amd64.whl

安装详情:

C:\hy\software\hp_m1136\Arabic>python
Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exit();

C:\hy\software\hp_m1136\Arabic>cd C:\hy\py

C:\hy\py>pip install cx_Oracle-8.3.0-cp310-cp310-win_amd64.whl
Processing c:\hy\py\cx_oracle-8.3.0-cp310-cp310-win_amd64.whl
Installing collected packages: cx-Oracle
Successfully installed cx-Oracle-8.3.0
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\ufo\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.

C:\hy\py>

以上红字部分为命令,黑色粗体为安装成功的反馈。



这篇关于【Python】连接到Oracle数据库的前奏:安装cx_Oracle的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程