我正在运行以下命令并收到以下错误:
root# sudo python manage.py syncdb
Traceback (most recent call last):
File "manage.py",line 14,in sql import custom_sql_for_model,emit_post_sync_signal
File "/usr/lib/pymodules/python2.6/django/core/management/sql.py",line 5,in MysqL/base.py",in MysqLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MysqLdb module: libMysqLclient_r.so.16: cannot open shared object file: No such file or directory
我有一种感觉,MysqLdb没有正确配置django,我想知道我是否缺少任何东西.我在它之前运行了以下命令:
# apt-get install python-django
# apt-get install python-MysqLdb
最佳答案