On 05/05/06 20:23, jbrewer wrote:
> Okay when I am looking at the sitepath I have all my python stuff
> coming from here:
> 
> /System/Library/Frameworks/Python.framework/...
> 
> But when I used DarwinPorts of SQLite it installed Python 2.4 here:
> 
> /opt/local/bin - and located here also is sqlite3
> 
> How do I remap this?
> 

The file /opt/local/bin/sqlite3 is probably just the command line 
client, not the library.

Try searching your filesystem for a folder named 'pysqlite2'.

e.g.
find / -type d -name pysqlite2


Then create a path file in the systems python installation that points 
to your sqlite3 installation.

e.g. create a file:
/System/Library/Frameworks/Python.framework/pysqlite2.pth

which contains a line that points to the folder you found before. e.g.:
/path/to/folder/pysqlite2

hth
Steven

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to