Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 00:48:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230613] lang/python36: All python packages fail to run the internal sqlite3 module: ImportError: No module named '_sqlite3'
Message-ID:  <bug-230613-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230613

            Bug ID: 230613
           Summary: lang/python36: All python packages fail to run the
                    internal sqlite3 module: ImportError: No module named
                    '_sqlite3'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

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 <modul=
e>
>     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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230613-7788>