hjfdhhf 2014-12-24 03:14 采纳率: 100%
浏览 3702
已采纳

搭建服务器 出现错误ImportError: this is MySQLdb

在Fedora Core 6 安装Bigworld服务器工具,在/home/zhu/mf/bigworld/tools/server/install/目录下输入./install_tools.py命令,出现错误

  • Installing system services

  • Uninstalling existing system service 'bw_stat_logger'

  • Installing package: bw_stat_logger
    Starting stat_logger: [ OK ]

  • Uninstalling existing system service 'bw_message_logger'

  • Installing package: bw_message_logger
    Starting message_logger: [ OK ]

  • Uninstalling existing system service 'bw_web_console'

  • Installing package: bw_web_console
    Starting web_console: Traceback (most recent call last):
    File "./start-web_console.py", line 15, in ?
    import MySQLdb
    File "/home/zhu/mf/bigworld/tools/server/pycommon/redist/mysql_python/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, 1, 'final', 2), but _mysql is version (1, 2, 1, 'final', 1)
    [FAILED]
    Check '/var/log/bigworld/web_console.log' for errors
    求大神帮忙解答,谢谢!

  • 写回答

1条回答

  • save4me 2014-12-24 09:08
    关注

    根据你的错误,你的Bigworld中MySQLdb的版本比你安装的mysql版本高,升级一下mysql数据库

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog