I'm trying to get tg up and running on osx, with which I am not experienced!

I have tg running ok, got sqlalchemy installed and python 2.4 going, and got
mysql itself running by installing from a binary package. But I am stuck trying
to get mysql-python working. I used easy_install and supposedly installed
MySQL-python 1.2.2. But opening a python session and trying

import mysqldb

gets me:

>>> import MySQLdb
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "build/bdist.macosx-10.4-fat/egg/MySQLdb/__init__.py", line 19, in ?
  File "build/bdist.macosx-10.4-fat/egg/_mysql.py", line 7, in ?
  File "build/bdist.macosx-10.4-fat/egg/_mysql.py", line 6, in __bootstrap__
ImportError: Failure linking new module:
/Users/bear/.python-eggs/MySQL_python-1.2.2-py2.4-macosx-10.4-fat.egg-tmp/_mysql.so:
Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib
  Referenced from:
/Users/bear/.python-eggs/MySQL_python-1.2.2-py2.4-macosx-10.4-fat.egg-tmp/_mysql.so
  Reason: image not found

Any help would be much appreciated. Keep in mind I am quite osx ignorant!
Thanks
Iain



--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to