简体   繁体   中英

How to install cx_Oracle on Windows with existing Oracle client?

I want to access a workplace Oracle database with user authentification in Python (Anaconda installation) via cx_Oracle on Windows.

I was following the instructions from easy_install cx_Oracle (python package) on Windows and have downloaded both Oracle Instant Client and Microsoft Visual Studio.

However, the Oracle Instant Client does not allow me to access the database because I believe it does not have the permissions. Is there a way I can download cx_Oracle by using the Oracle client used at my workplace?

Also, excuse my newbie question, but does having access to an Oracle database mean I have Oracle installed?

Thanks!

您可以安装cx_Oracle 6,它使用以下命令提供一个二进制轮(预编译的软件包)来处理所有11.2、12.1和12.2 Oracle客户端:

python -m pip install cx_Oracle --upgrade --pre

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM