Django - No module named _sqlite3

前端 未结 9 1646

I have django 1.4 installed on my rhel 5. By default rhel 5 has python 2.4 in it but to use django 1.4 I manually installed python 2.7.3 The development server is running fine b

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-12 13:12

    I had the same problem with python 2.6.8 built from source on Red Hat (but this probably holds for other versions on other OS).

    My problem was solved by installing sqlite-devel (Red Hat) before configuring and building python (or do config.status --recheck in your build directory, followed by make and make install.

提交回复
热议问题