It seems your makefile didn’t include the appropriate .so
file. You can correct this problem with the steps below:
- Install
sqlite-devel
(orlibsqlite3-dev
on some Debian-based systems) - Re-configure and re-compiled Python with
./configure --enable-loadable-sqlite-extensions && make && sudo make install
Note
The sudo make install
part will set that python version to be the system-wide standard, which can have unforseen consequences. If you run this command on your workstation, you’ll probably want to have it installed alongside the existing python, which can be done with sudo make altinstall
.