| Hi Michael, It looks like something is fishy with your pysqlite egg... I don't know what that can be, but in the meantime if you have the Mac OSX development tools installed you can follow this instructions to get pysqlite running: Cheers. Ronald On Mar 1, 2006, at 9:26 PM, Michael Weiner wrote: On 3/1/06 3:13 PM, "Ronald Jaramillo" <[EMAIL PROTECTED]> wrote: Hi Michael, If you open terminal and start Python 2.4 does the following works? >>> from pysqlite2 import test >>> test.test() Cheers Ronald On Mar 1, 2006, at 9:01 PM, Michael Weiner wrote: I am working my way through the turtorial, trying to educate myself a little bit here at home before i go and munge up my development environment at work. In that process, i grabbed the ez_install.py and got the latest tg et al eggs installed on this Mac OSX 10.4.4 machine running python 2.4.1. Working through the wiki tutorial, i am having a slight problem when i go to create the database/tables using tg-admin sql create, i receive the following errors: $tg-admin sql create Using database URI sqlite:///Users/hunter/turbogears/Wiki20/wikidata.db Traceback (most recent call last): File "/usr/local/bin/tg-admin", line 7, in ? sys.exit( File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/TurboGears- 0.9a1-py2.4.egg/ <snip> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1588-py2.4.egg/sqlobject/sqlite/sqliteconnection.py ", line 23, in __init__ import sqlite ImportError: No module named sqlite And i am basically stuck there. I grabbed pysqlite-2.1.3.tar.gz and installed that thinking that would give me python hooks into sqlite and also installed SQLite 2.8.16 and i am still recieving the same error. Not being a python developer, i am a systems administrator/designer, i may be missing something here, but everything seems to be in place. Am i missing something? Any assistance would be GREATLY appreciated. Thanks in advance Michael Weiner -- Ronald - Thanks for the reply, i recieve the following :( $python Python 2.4.1 (#2, Mar 31 2005, 00:05:10) [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pysqlite2 import test Traceback (most recent call last): File "<stdin>", line 1, in ? File "build/bdist.darwin-8.5.0-Power_Macintosh/egg/pysqlite2/test/__init__.py", line 25, in ? File "build/bdist.darwin-8.5.0-Power_Macintosh/egg/pysqlite2/test/dbapi.py", line 26, in ? File "build/bdist.darwin-8.5.0-Power_Macintosh/egg/pysqlite2/dbapi2.py", line 32, in ? File "build/bdist.darwin-8.5.0-Power_Macintosh/egg/pysqlite2/_sqlite.py", line 7, in ? File "build/bdist.darwin-8.5.0-Power_Macintosh/egg/pysqlite2/_sqlite.py", line 6, in __bootstrap__ ImportError: Failure linking new module: /Users/hunter/.python-eggs/pysqlite-2.1.3-py2.4-macosx-10.4-ppc.egg-tmp/pysqlite2/_sqlite.so: Symbol not found: _sqlite3_transfer_bindings Referenced from: /Users/hunter/.python-eggs/pysqlite-2.1.3-py2.4-macosx-10.4-ppc.egg-tmp/pysqlite2/_sqlite.so Expected in: dynamic lookup
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---
|