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

【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>

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

标签:8.3,hy,Python,py,cx,Oracle,cp310
来源: https://www.cnblogs.com/pyhy/p/15835689.html