我正在尝试在centos 5.5上安装MysqL-python lib。我跑了
原文链接:https://www.f2er.com/centos/374128.htmlsudo yum install MysqL-python
但是当我试过:
import MysqLdb
我得到这个错误:
Traceback (most recent call last): File "<stdin>",line 1,in ? File "MysqLdb/__init__.py",line 22,in ? raise ImportError("this is MysqLdb version %s,but _MysqL is version %r" % ImportError: this is MysqLdb version (1,2,3,'final',0),\ # added linebreak but _MysqL is version (1,1,1)
任何关于如何解决这个问题的线索?