Re: [Tutor] sqlite3 import problem

2014-01-03 Thread Alan Gauld
On 03/01/14 02:17, Matthew Ngaha wrote: im having problems importing sqlite3 on ubuntu python3. File /usr/local/lib/python3.3/sqlite3/__init__.py, line 23, in module from sqlite3.dbapi2 import * File /usr/local/lib/python3.3/sqlite3/dbapi2.py, line 26, in module from _sqlite3

Re: [Tutor] sqlite3 import problem

2014-01-03 Thread Matthew Ngaha
On Fri, Jan 3, 2014 at 10:36 AM, Alan Gauld alan.ga...@btinternet.com wrote: On 03/01/14 02:17, Matthew Ngaha wrote: im having problems importing sqlite3 on ubuntu python3. File /usr/local/lib/python3.3/sqlite3/__init__.py, line 23, in module from sqlite3.dbapi2 import * File

Re: [Tutor] sqlite3 import problem

2014-01-03 Thread Mark Lawrence
On 03/01/2014 10:36, Alan Gauld wrote: On 03/01/14 02:17, Matthew Ngaha wrote: im having problems importing sqlite3 on ubuntu python3. File /usr/local/lib/python3.3/sqlite3/__init__.py, line 23, in module from sqlite3.dbapi2 import * File /usr/local/lib/python3.3/sqlite3/dbapi2.py,

Re: [Tutor] sqlite3 import problem

2014-01-03 Thread Alan Gauld
On 03/01/14 13:36, Mark Lawrence wrote: File /usr/local/lib/python3.3/sqlite3/dbapi2.py, line 26, in module from _sqlite3 import * ImportError: No module named '_sqlite3' As a matter of interest why do you have the underscore in front of sqlite3? Is that deliberate? You surprise me

[Tutor] sqlite3 import problem

2014-01-02 Thread Matthew Ngaha
im having problems importing sqlite3 on ubuntu python3. File /usr/local/lib/python3.3/sqlite3/__init__.py, line 23, in module from sqlite3.dbapi2 import * File /usr/local/lib/python3.3/sqlite3/dbapi2.py, line 26, in module from _sqlite3 import * ImportError: No module named '_sqlite3'

Re: [Tutor] sqlite3 import problem

2014-01-02 Thread Danny Yoo
Hi Matthew, This might be an Ubuntu bug or deficiency. The file you're looking for is for the underlying low-level C module that bridges the world of SQLite and Python. By all rights, this would have been provided by something like the python-pysqlite2 package, but that package is for Python

Re: [Tutor] sqlite3 import problem

2014-01-02 Thread Kushal Kumaran
Matthew Ngaha chigga...@gmail.com writes: im having problems importing sqlite3 on ubuntu python3. File /usr/local/lib/python3.3/sqlite3/__init__.py, line 23, in module from sqlite3.dbapi2 import * File /usr/local/lib/python3.3/sqlite3/dbapi2.py, line 26, in module from _sqlite3