Error Running Coverage on Ubuntu

Trying to install pytest and coverage on my ubuntu development server, and ran into an issue when running coverage:

ModuleNotFoundError: No module named '_sqlite3'

To resolve, install python with enable extensions:

PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions" pyenv install 3.9.2

Enjoy!

Related Posts

Looking At a Python Pelican

Looking At a Python Pelican

I really like the static version of the site. It’s so much easier to support and configure.

Read More
Research Guide: Knitting History and Techniques

Research Guide: Knitting History and Techniques

For a recent class, I needed to create a beginner research guide for a topic that interests me.

Read More
Double Basket Beanie Pattern Is Live

Double Basket Beanie Pattern Is Live

I finally finished writing the pattern to my satisfaction and testing the various options.

Read More