尝试启动项目时出现此错误,我认为 mysql 的体系结构与 python 版本不匹配?但是我无法指出究竟是什么错误,以及如何解决它。
谢谢
ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Library/Python/2.7/site-packages/MySQL_python-1.2.4b4-py2.7-macosx-10.8-intel.egg/_mysql.so, 2): no suitable image found. Did find:
/Library/Python/2.7/site-packages/MySQL_python-1.2.4b4-py2.7-macosx-10.8-intel.egg/_mysql.so: mach-o, but wrong architecture
Process finished with exit code 1