Trouble installing py-sqlite3 port for python3.x

Aeyos aeyos at pyrostech.net
Mon Jun 17 18:20:11 UTC 2013


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



More information about the freebsd-questions mailing list