problems with python 2.7.3 on Centos with sqlite3 module

后端 未结 4 2090
醉梦人生
醉梦人生 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 19:59

    If you're using Python 2.7.3 on a Red Hat 5 or CentOS 5 machine, there was a bug that prevented the SQLite modules from compiling properly when building Python from source; you should see an error message when running make. It's since been fixed in 2.7.4 so your best option is to upgrade.

    If that's not possible, then there's a patch available. Here's the bug page and the patch.

提交回复
热议问题