ubuntu python install oracle module cx_Oracle
来源:互联网 发布:宿州影楼美工招聘兼职 编辑:程序博客网 时间:2024/05/18 07:10
apt-get install build-essential unzip python-dev libaio-devsudo apt-get install alienaxel -n 10 "http://download.oracle.com/otn/linux/instantclient/122010/oracle-instantclient12.2-basic-12.2.0.1.0-1.i386.rpm?AuthParam=1495872565_a046f44ac7d5a2d7f47f29746e57282d"sudo alien -i oracle-instantclient12.2-basic-12.2.0.1.0-1.i386.rpmaxel -n 10 "http://download.oracle.com/otn/linux/instantclient/122010/oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64.rpm?AuthParam=1495872755_9542a241664febd3f7ab2b8bb7ee894d"axel -n 10 "http://download.oracle.com/otn/linux/instantclient/122010/oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64.rpm?AuthParam=1495873553_cfbb390cd8691a945e872bb030357843"alien -i oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64.rpm#export LD_LIBRARY_PATH=/usr/lib/oracle/12.2/client64/lib/#export ORACLE_HOME=/usr/lib/oracle/12.2/#export LD_RUN_PATH=/usr/lib/oracle/12.2/sudo pip install cx_oracle
简单测试
import cx_Oracledb=cx_Oracle.connect('1','1','1:1521/ora11g')print db.versioncursor = db.cursor() cursor.execute("select * from xxx")result = cursor.fetchall()db.close()
阅读全文
0 0
- ubuntu python install oracle module cx_Oracle
- Install Oracle (cx_Oracle) module for Python
- ubuntu install cx_Oracle
- install Oracle and cx_oracle on Mac
- cx_Oracle Module
- python之oracle连接 cx_Oracle
- Python module “cx_Oracle” module could not be found
- python-multiprocessing module install
- mac python install module
- 【python】 python 连接oracle数据库 cx_Oracle插件
- Python cx_Oracle - import not a valid win32 app or ImportError: No module named cx_Oracle Found
- python 通过cx_Oracle操作oracle database
- python 连接 Oracle 乱码问题(cx_Oracle)
- python通过cx_Oracle连接oracle设置
- python 连接oracle 报错 cx_Oracle.DatabaseErro
- python使用cx_oracle连接oracle数据库
- Python cx_Oracle & Oracle Client for Mac OS
- python用cx_oracle连接oracle报错
- MyBatis与Spring整合细节的优化
- c#中的接口
- 解决jsp页面路径访问图片的乱码问题
- hdoj 1030 Delta-wave(3坐标)
- aa
- ubuntu python install oracle module cx_Oracle
- 个人笔记(第四篇)
- You may need to configure your browser or application to trust the Charles Root Certificate.
- WPF中的TreeView入门
- IO流-字符流
- mysql 之序列表,自增id作用
- 常用的android studio 的快捷键设置和代码块缩写
- 在ubuntu16.xx PHP测试连接MySQL中出现Call to undefined function: mysql_connect()
- 为龙芯1c交叉编译qt要点