Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2013 14:34:11 +0000 (UTC)
From:      Aeyos <aeyos@pyrostech.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Trouble installing py-sqlite3 port for python3.x
Message-ID:  <loom.20130617T163236-976@post.gmane.org>
References:  <CAN2+EpZuNBYsJf0a-aK22eo-6LRSjHm_81SPOr=aA5=BmAvS2w@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Modulok <modulok <at> gmail.com> writes:

> 
> List,
> 
> I'm *guessing* this is more of FreeBSD problem than a python one, so I'll 
ask
> on this list. I'm trying to import sqlite3 in python3.2 on FreeBSD
> 8.1-RELEASE and ran
> into trouble:
> 
>     $ python3.2
>     ...
>     >>> import sqlite3
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>       File "/usr/local/lib/python3.2/sqlite3/__init__.py", line 23, in 
<module>
>         from sqlite3.dbapi2 import *
>       File "/usr/local/lib/python3.2/sqlite3/dbapi2.py", line 26, in 
<module>
> [...]

Solution : installing port named py-sqlite3 after configure for use with 
ptyhon3. Tuto here http://bind10.isc.org/wiki/SystemNotesFreeBSD




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?loom.20130617T163236-976>