ITeye博客

python

共 1 篇文章

linux下python连接oracle错误处理

在linux下安装cx_Oracle 使用“import cxOracle”导入时报错: >>> import cx_Oracle Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: libclntsh.so.10.1: cannot open shared object file: No such file or directory 此时是由于python在操作oracle数据库的时候需要用到oracle的一些库,而上面的问题就是说python需要的这些库不在环境的路径里,在…

2012-06-23 17:05 · oracle · linux · python