Note on the SQLite extensions

Peewee includes two SQLite-specific C extensions which provide additionalfunctionality and improved performance for SQLite database users. Peewee willattempt to determine ahead-of-time if SQLite3 is installed, and only build theSQLite extensions if the SQLite shared-library is available on your system.

If, however, you receive errors like the following when attempting to installPeewee, you can explicitly disable the compilation of the SQLite C extensionsby settings the NO_SQLITE environment variable.

  1. fatal error: sqlite3.h: No such file or directory

Here is how to install Peewee with the SQLite extensions explicitly disabled:

  1. $ NO_SQLITE=1 python setup.py install