Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
  2. django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Users/splashlin/Developer/project/venv/lib/python2.7/site-packages/_mysql.so, 2): Library not loaded: /usr/local/lib/libmysqlclient.18.dylib
  3. Referenced from: /Users/splashlin/Developer/project/venv/lib/python2.7/site-packages/_mysql.so
  4. Reason: image not found
  5.  
  6. sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Library/Python/2.7/site-packages/_mysql.so
  7.  
  8. error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Library/Python/2.7/site-packages/_mysql.so (No such file or directory)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement