What are sqlite development headers and how to install them?

后端 未结 3 1480
北恋
北恋 2021-02-08 07:13

I am trying to install pysqlite and have troubles with that. I found out that the most probable reason of that is missing sqlite headers and I have to install them.

Howe

3条回答
  •  悲哀的现实
    2021-02-08 08:00

    pysqlite needs to compiled/build before you can use it. This requires C language header files (*.H) which come with the source code of sqllite itself.

    i.e. sqllite and pysqlite are two different things. Did you install sqlite prior to trying and build pysqllte ? (or maybe you did, but did you do so just with the binaries; you need the source package (or at least its headers) for pysqlite purposes.

提交回复
热议问题