Advertisement
Guest User

MySQL error

a guest
Jun 17th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. /Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm.app/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 50584 --file manage.py runserver 8000
  2. pydev debugger: process 474 is connecting
  3. Connected to pydev debugger (build 117.376)
  4. pydev debugger: process 475 is connecting
  5. Validating models...
  6.  
  7. Unhandled exception in thread started by
  8. Traceback (most recent call last):
  9. File "/Applications/PyCharm.app/helpers/pydev/pydevd.py", line 174, in __call__
  10. self.original_func(*self.args, **self.kwargs)
  11. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/commands/runserver.py", line 91, in inner_run
  12. self.validate(display_num_errors=True)
  13. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/base.py", line 266, in validate
  14. num_errors = get_validation_errors(s, app)
  15. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/core/management/validation.py", line 23, in get_validation_errors
  16. from django.db import models, connection
  17. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/db/__init__.py", line 40, in <module>
  18. backend = load_backend(connection.settings_dict['ENGINE'])
  19. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/db/__init__.py", line 34, in __getattr__
  20. return getattr(connections[DEFAULT_DB_ALIAS], item)
  21. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/db/utils.py", line 92, in __getitem__
  22. backend = load_backend(db['ENGINE'])
  23. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/db/utils.py", line 24, in load_backend
  24. return import_module('.base', backend_name)
  25. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/utils/importlib.py", line 35, in import_module
  26. __import__(name)
  27. File "/Library/Python/2.7/site-packages/Django-1.4-py2.7.egg/django/db/backends/mysql/base.py", line 16, in <module>
  28. raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
  29. django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Users/---------/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10.6-intel.egg-tmp/_mysql.so, 2): Library not loaded: libmysqlclient.18.dylib
  30. Referenced from: /Users/---------/.python-eggs/MySQL_python-1.2.3-py2.7-macosx-10.6-intel.egg-tmp/_mysql.so
  31. Reason: image not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement