Fixing ModuleNotFoundError: No module named '_sqlite3'

Categories
mod_wsgi Python Sysadminning
Today, I set up Flaskr (GitHub repository), one of the Flask demo apps, so that I could poke around Flask a bit. The only real speed bump was a ModuleNotFoundError for _sqlite3: Note that, to make the above lines from my flaskr error log more readable, I’ve removed the timestamps, process IDs, and requesting IP […]

How I got Python 3.6.1 and WSGI working on CentOS 7.3

Categories
HerpDerp mod_wsgi Mucking About With Things Python
I set out to get WSGI going, with Python 3.x, on my CentOS 7.3 VPS. Initially, I began by trying to follow the path laid out in a 2011 blog post (Building mod_wsgi with EasyApache for WHM/cPanel) but with current equivalents of Python and mod_wsgi. That’s a very lucidly written article and it’s apparent from […]