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%2BEpZuNBYsJf0a-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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20130617T163236-976>