Date: Sat, 14 Nov 2015 17:28:37 +0200 From: Volodymyr Kostyrko <arcade@b1t.name> To: freebsd-python@freebsd.org Subject: Re: Python3, ImportError: No module named '_sqlite3' Message-ID: <56475325.7050601@b1t.name> In-Reply-To: <CAG=rPVe5fL82=VCsjL7=tqCyaLY7VoJYv46=intqYS0CJ0sOMA@mail.gmail.com> References: <CAG=rPVe5fL82=VCsjL7=tqCyaLY7VoJYv46=intqYS0CJ0sOMA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56475325.7050601>