[issue9365] Installing a distro without sqlite3 will require a reinstall of python to function if installed at a later date

R. David Murray report at bugs.python.org
Sat Jul 24 16:22:06 CEST 2010

R. David Murray <rdmurray at bitdance.com> added the comment:

This is not a bug in Python.  Your link implies you are building things from scratch, so it is your responsibility to resolve the dependencies.

sqlite3 support is implemented via an extension module (compiled C code).  That extension module must be built against sqlite3.  If you don't have sqlite3 installed, the extension can't be built (which the Python build process tells you in the summary at the end).  If you later install sqlite3, there's no way the extension module to get automatically compiled.  You have to do it, as you discovered.

On systems with a package manager, the sqlite3 dependency would be automatically resolved.  Unless you told the system to build without sqlite, in which case it would again be your responsibility to reinstall python after changing your mind.

nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list