码迷,mamicode.com
首页 > 数据库 > 详细

(诊断)No module named MySQLdb

时间:2015-04-16 12:06:02      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:

启动Keystone同步数据库时提示:

2015-04-16 10:53:24.010 5747 TRACE keystone   File "/usr/local/python2.7/lib/python2.7/site-packages/sqlalchemy/connectors/mysqldb.py", line 64, in dbapi
2015-04-16 10:53:24.010 5747 TRACE keystone     return __import__(MySQLdb)
2015-04-16 10:53:24.010 5747 TRACE keystone ImportError: No module named MySQLdb
2015-04-16 10:53:24.010 5747 TRACE keystone

要安装下面的软件解决:

# pip install mysql-python

 

(诊断)No module named MySQLdb

标签:

原文地址:http://www.cnblogs.com/Security-Darren/p/4431438.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!