2013年10月7日

Django syncdb Error

Django MySql syncdb Error django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: dlopen(/path/to/venv/2.6/lib/python2.6/site-packages/_mysql.so, 2): no suitable image found. Did find: /path/to/venv/2.6/lib/python2.6/site-packages/_mysql.so: mach-o, but wrong architecture Sqlite3 syncdb Error sqlite3.OperationalError: unable to open database file What's the problem? Chancese are that you tried to use same database with different python environment.

沒有留言:

張貼留言