2007年07月08日 星期日 21:03
>>> import sqlite3 Traceback (most recent call last): File "", line 1, in File "/home/gecko/python//lib/python2.5/sqlite3/__init__.py", line 24, in from dbapi2 import * File "/home/gecko/python//lib/python2.5/sqlite3/dbapi2.py", line 27, in from _sqlite3 import * ImportError: No module named _sqlite3 sqlite3不是py2.5的内置标准库吗?为什么出错的?
2007年07月08日 星期日 21:06
mouqx xu,您好! 在linux里不是默认的,因为linux下需要你先安装了sqlite3才可能编译出sqlite3模块。 ======= 2007-07-08 21:03:22 您在来信中写道:======= >>>> import sqlite3 >Traceback (most recent call last): > File "", line 1, in > File "/home/gecko/python//lib/python2.5/sqlite3/__init__.py", line >24, in> from dbapi2 import * > File "/home/gecko/python//lib/python2.5/sqlite3/dbapi2.py", line 27, >in > from _sqlite3 import * >ImportError: No module named _sqlite3 > >sqlite3不是py2.5的内置标准库吗?为什么出错的? >_______________________________________________ >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 = = = = = = = = = = = = = = = = = = = = 致 礼! 赵威 zhaoweikid在163.com 2007-07-08
2007年07月09日 星期一 10:00
装一个bin格式的python就好了。 2007/7/8, mouqx xu <zsuxqm在gmail.com>: > >>> import sqlite3 > Traceback (most recent call last): > File "", line 1, in > File "/home/gecko/python//lib/python2.5/sqlite3/__init__.py", line > 24, in> from dbapi2 import * > File "/home/gecko/python//lib/python2.5/sqlite3/dbapi2.py", line 27, > in > from _sqlite3 import * > ImportError: No module named _sqlite3 > > sqlite3不是py2.5的内置标准库吗?为什么出错的? > _______________________________________________ > 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
Zeuux © 2025
京ICP备05028076号