Adapting Alpine Python builds with SQLite extension availability (--enable-loadable-extensions)
342
After testing several Python 3.x branches, most were not building Python with a useful --enable-loadable-extensions flag, which allows Python to load run-time extensions. If you ever see this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'sqlite3.Connection' object has no attribute 'enable_load_extension'
In 3.x it is likely from sqlite3 not built with loadable runtime extensions.
This repository is from the official Alpine Python builds (5/8/2016). https://hub.docker.com/_/python/
docker pull prolocutor/python3-sqlite-ext:3.5.1
docker pull prolocutor/python3-sqlite-ext:3.4.4
docker pull prolocutor/python3-sqlite-ext:3.3.6
docker pull prolocutor/python3-sqlite-ext:3.5.1-spatialite
Content type
Image
Digest
Size
100.8 MB
Last updated
over 10 years ago
docker pull prolocutor/python3-sqlite-ext:3.5.1-spatialite