problems with python 2.7.3 on Centos with sqlite3 module

后端 未结 4 2081
醉梦人生
醉梦人生 2021-01-22 19:32

i\'m tying to play with sqlite3 on my centos server but it reports always the same error (module installed)....

Python 2.7.3 (default, Jun 29 2012, 19:03:18) 
[G         


        
4条回答
  •  粉色の甜心
    2021-01-22 20:00

    first find:

    find / -name _sqlite3.so
    /usr/usr/lib/python2.6/lib-dynload/_sqlite3.so
    /usr/local/service/python2.7/lib/python2.7/lib-dynload/_sqlite3.so
    /usr/lib64/python2.6/lib-dynload/_sqlite3.so
    

    next

    cp /usr/local/service/python2.7/lib/python2.7/lib-dynload/_sqlite3.so /usr/local/lib/python2.7/sqlite3/
    

    this centso 6.5 python2.7.10

提交回复
热议问题