I am having the same issue;

I think it is the python installation

you can try on yours 'easy_install pysqlite'

providing you have setuptools installed

I am trying to rebuild my python from SRC.

Not on solaris; Redhat.




On 5/4/11 5:10 PM, PlanetUnknown wrote:
Interesting..
On a plain python shell when I do "import sqlite3" I get ->

"File "/var/opt/python2.6.2/usr/local/lib/python2.6/sqlite3/
dbapi2.py", line 27, in<module>
     from _sqlite3 import *
ImportError: No module named _sqlite""

Something wrong with the python installation itself ?

On May 4, 5:03 pm, PlanetUnknown<nikhil.kodil...@gmail.com>  wrote:
Now I see that sqlite does come with python-2.6.2.
I do see "../usr/local/lib/python2.6/sqlite3" directory inside by
python installation.
Wonder why web2py doesn't see it.

I'm on Solaris 10

On May 4, 4:46 pm, PlanetUnknown<nikhil.kodil...@gmail.com>  wrote:







I'm using python-2.6.2 and the latest stable web2py.
When I start web2py, it says :
Created by Massimo Di Pierro, Copyright 2007-2011
Version 1.95.1 (2011-04-25 15:04:14)
Database drivers available: pymysql
Starting hardcron...
Which I think means that it only has the driver for MySQL and nothing
else.
How do I install the driver for sqlite3 ?

Reply via email to