2007年11月06日 星期二 15:45
我试用了一下cx_oracle,弄了好久,import cx_oracle时说找不到模块, 版本都是对的啊。 -------------- 涓嬩竴閮ㄥ垎 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20071106/062b6986/attachment.htm
2007年11月07日 星期三 10:23
你正确安装了没有? > 我试用了一下cx_oracle,弄了好久,import cx_oracle时说找不到模块, > 版本都是对的啊。 > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -- Best Regards, No.23 ---- My Blog: http://blog.chinaunix.net/u1/42287/
2007年11月07日 星期三 11:04
On Nov 6, 2007 3:45 PM, huaihuai <hhuai在foxmail.com> wrote: > 我试用了一下cx_oracle,弄了好久,import cx_oracle时说找不到模块, > 版本都是对的啊。 是不是忽略了大小写?正确的应该是: import cx_Oracle
2007年11月08日 星期四 20:11
估计是这个问题.顺便提一下安装oracle客户端. 在07-11-7,Xie Yanbo <xieyanbo在gmail.com> 写道: > > On Nov 6, 2007 3:45 PM, huaihuai <hhuai在foxmail.com> wrote: > > 我试用了一下cx_oracle,弄了好久,import cx_oracle时说找不到模块, > > 版本都是对的啊。 > > 是不是忽略了大小写?正确的应该是: > import cx_Oracle > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20071108/22152907/attachment.html
2007年11月08日 星期四 21:28
谁知道在Mac下怎么弄?装了一个instantClient10_1,编译通过了,但是一堆的警告,而且import的时候出这个错误: Python 2.5.1 (r251:54863, Oct 5 2007, 21:08:09) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import cx_Oracle Traceback (most recent call last): File "", line 1, in ImportError: dlopen(/Library/Python/2.5/site-packages/cx_Oracle.so, 2): Symbol not found: _OCIAttrGet Referenced from: /Library/Python/2.5/site-packages/cx_Oracle.so Expected in: dynamic lookup On Nov 8, 2007 8:11 PM, yuan xuan <xuanyuan14.leo at gmail.com> wrote: > 估计是这个问题.顺便提一下安装oracle客户端. > > 在07-11-7,Xie Yanbo <xieyanbo at gmail.com> 写道: > > > On Nov 6, 2007 3:45 PM, huaihuai <hhuai at foxmail.com> wrote: > > > 我试用了一下cx_oracle,弄了好久,import cx_oracle时说找不到模块, > > > 版本都是对的啊。 > > > > 是不是忽略了大小写?正确的应该是: > > import cx_Oracle > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- There are pretenders among us, geniuses with the ability to become anyone they want to be. Some birds aren't meant to be caged. Their feathers are just too bright. And when they fly away, the part of you that knows it was a sin to lock them up does rejoice. 一生一代一双人,争教两处销魂。相思相望不相亲,天为谁春? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20071108/0c72319a/attachment.htm
2007年11月08日 星期四 21:45
请参考: http://pedro.emanuel.familiasalgado.org/?p=103 MAC下没做过这样的尝试 :) 在07-11-8,Antediluvian <petercui在gmail.com> 写道: > > 谁知道在Mac下怎么弄?装了一个instantClient10_1,编译通过了,但是一堆的警告,而且import的时候出这个错误: > Python 2.5.1 (r251:54863, Oct 5 2007, 21:08:09) > [GCC 4.0.1 (Apple Inc. build 5465)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import cx_Oracle > Traceback (most recent call last): > File "", line 1, in > ImportError: dlopen(/Library/Python/2.5/site-packages/cx_Oracle.so, 2): > Symbol not found: _OCIAttrGet > Referenced from: /Library/Python/2.5/site-packages/cx_Oracle.so > Expected in: dynamic lookup > > > > On Nov 8, 2007 8:11 PM, yuan xuan <xuanyuan14.leo在gmail.com> wrote: > > > 估计是这个问题.顺便提一下安装oracle客户端. > > > > 在07-11-7,Xie Yanbo < xieyanbo在gmail.com> 写道: > > > > > On Nov 6, 2007 3:45 PM, huaihuai <hhuai在foxmail.com> wrote: > > > > 我试用了一下cx_oracle,弄了好久,import cx_oracle时说找不到模块, > > > > 版本都是对的啊。 > > > > > > 是不是忽略了大小写?正确的应该是: > > > import cx_Oracle > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > -- > There are pretenders among us, geniuses with the ability to become anyone > they want to be. > Some birds aren't meant to be caged. Their feathers are just too bright. > And when they fly away, the part of you that knows it was a sin to lock them > up does rejoice. > 一生一代一双人,争教两处销魂。相思相望不相亲,天为谁春? > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20071108/697d902a/attachment.html
Zeuux © 2025
京ICP备05028076号