u012614842
hjfdhhf
2014-12-24 03:14

搭建服务器 出现错误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条回答

为你推荐