Skip to content

Instantly share code, notes, and snippets.

@ahmetuludag
Created January 30, 2021 15:10
Show Gist options
  • Save ahmetuludag/95f3cecb4167ad1a1f3af1248f61b8e4 to your computer and use it in GitHub Desktop.
Save ahmetuludag/95f3cecb4167ad1a1f3af1248f61b8e4 to your computer and use it in GitHub Desktop.
How to install peewee with SQLite-specific C extensions on debian-like systems
sudo apt update
sudo apt install python-dev cython libsqlite3-dev
git clone https://github.com/coleifer/peewee.git
cd peewee
# if you're not using virtualenv, leading "sudo" may be required for the following two commands to install it system-wide.
python setup.py install
python setup.py build_ext -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment