maintainer-feedback requested: [Bug 230613] lang/python36: All python packages fail to run the internal sqlite3 module: ImportError: No module named '_sqlite3'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 14 00:48:57 UTC 2018
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-python mailing
list <python at FreeBSD.org> for maintainer-feedback:
Bug 230613: lang/python36: All python packages fail to run the internal sqlite3
module: ImportError: No module named '_sqlite3'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230613
--- Description ---
Pythin docs say that sqlite3 is included since python-2.5:
https://docs.python.org/2/library/sqlite3.html
But 'import sqlite3' it fails:
> $ python3.5 sq.py
> Traceback (most recent call last):
> File "sq.py", line 1, in <module>
> import sqlite3
> File "/usr/local/lib/python3.5/sqlite3/__init__.py", line 23, in <module>
> from sqlite3.dbapi2 import *
> File "/usr/local/lib/python3.5/sqlite3/dbapi2.py", line 27, in <module>
> from _sqlite3 import *
> ImportError: No module named '_sqlite3'
Verified in 2.7, 3.5, 3.6.
More information about the freebsd-python
mailing list