http://stackoverflow.com/questions/6383310/python-mysqldb-library-not-loaded-libmysqlclient-18-dylib

solved this error. 

Thanks!

On Monday, 9 July 2012 17:57:45 UTC-4, Rajan Chaudhari wrote:
>
> Hello all,
>
> I have installed Django, MySql, phpMyAdmin and python-mysq. I am able to 
> create new project. But in next step when I run command python manage.py 
> syncdb I am geting following error. 
>
> File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/db/backends/mysql/base.py",
>  
> line 16, in <module>
>     raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: 
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-x86_64.egg/_mysql.so,
>  
> 2): Library not loaded: libmysqlclient.18.dylib
>   Referenced from: 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-x86_64.egg/_mysql.so
>   Reason: image not found
>
> Can anyone please help? 
>
> Thank You,
>
> Rajan Chaudhari
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/TtWgBkYnFDEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to