Hi,
I am having trouble installing dabo on OS X 10.4.9
transcripts:
>>
>> [yugi:python/dabo/dabo] gjok% sudo python setup.py install
>> /Users/gjok/Desktop/downloads/python/dabo/dabo/dabo/dPref.py:16:
UserWarning: Class dPref requires package 'pysqlite2'.
>> warnings.warn("Class dPref requires package 'pysqlite2'.")
>>
>>
>> Dabo requires SQLite 3 and the pysqlite2 module. You will have to
install these
>> free products before running Dabo. You can get them from the
following locations:
>>
>> SQLite: http://www.sqlite.org/download.html
>> pysqlite2: http://initd.org/tracker/pysqlite
>>
I have the following installed:
>> ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on
>> Python 2.4.3 (#1, Apr 3 2006, 18:07:18)
>> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
>> import wx
>> print wx.__version__
>> 2.6.3.3
>> import MySQLdb
>> print MySQLdb.__version__
>> 1.2.1c7
I installed sqlite-3.3.15 and pysqlite-2.3.3. They don't have
__version__ numbers.
The offending lines are from dPref.py:
>> import os
>> import warnings
>> import datetime
>> import dabo
>> from dabo.dLocalize import _
>> import dabo.lib.utils as utils
>> try:
>> from pysqlite2 import dbapi2 as sqlite
>> except ImportError:
>> try:
>> import sqlite3 as sqlite
>> except ImportError:
>> # pkm: We can't use the errorLog to warn of this
problem, because errorLog
>> # descends from dObject, which needs to load
dPref.py first.
>> warnings.warn("Class dPref requires package
'pysqlite2'.")
>> #dabo.errorLog.write("This class requires SQLite")
>>
However, in a standalone python session
>> from pysqlite2 import dbapi2 as sqlite
does not complain.
Neither does
>> import pysqlite2.dbapi2
So I can't work out what is at fault. Any ideas anyone?
Should i be installing sqlite3?
regards,
Graeme
_______________________________________________
Post Messages to: [EMAIL PROTECTED]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]