Hi,
I've been trying to fix this issue for about a day now, with no luck. Trying to use the sqlite3 module with python3(4):
Searching for sqlite3:
Installing
installs
which is for python 2.7....
Anybody have any fix for this?
Much appreciated.
I've been trying to fix this issue for about a day now, with no luck. Trying to use the sqlite3 module with python3(4):
Code:
Python 3.4.3 (default, Sep 4 2015, 20:49:55)
[GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)] on freebsd10
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.4/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.4/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named '_sqlite3'
Searching for sqlite3:
Code:
root@redacted:~ # find / -name "sqlite3"
/tmp/npm-83738-9b522bdf/registry.npmjs.org/sqlite3
/usr/ports/security/node_modules/sqlite3
/usr/ports/databases/sqlite3
/usr/local/bin/sqlite3
/usr/local/lib/python2.7/sqlite3
/usr/local/lib/python3.4/sqlite3
Installing
Code:
/usr/ports/databases/py-sqlite3
Code:
py27-sqlite3-2.7.10_6
Anybody have any fix for this?
Much appreciated.