Python3, ImportError: No module named '_sqlite3'
Volodymyr Kostyrko
arcade at b1t.name
Sat Nov 14 15:38:06 UTC 2015
On 14.11.2015 17:18, Craig Rodrigues wrote:
> Hi,
>
> I did the following on a FreeBSD 10.2 system:
>
> pkg install lang/python35
>
> python3.5 -c "import sqlite3"
sqlite3 is not part of the "python" package, you can install it from
port: databases/py-sqlite3. As there's no specific python3 versions of
that ports you need to set PYTHON_VERSION=python3.5 before building.
Both 2.x and 3.x versions of package can coexist peacefully.
--
Sphinx of black quartz judge my vow.
More information about the freebsd-python
mailing list