安装mysqldb时遇到问题

f15361110801 2011-10-22 03:18:56
win7 64bit python2.7 mysql5.5

在命令中安装mysqldb时,
出现:

Traceback (most recent call last):
File "setup.py", line 15, in <module>
metadata, options = get_config()
File "D:\Download\MySQL-python-1.2.3\MySQL-python-1.2.3\setup_windows.py", lin
e 7, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['registry_ke
y'])
WindowsError: [Error 2]

应该怎样解决???
...全文
59 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
九月茅桃 2011-10-22
  • 打赏
  • 举报
回复
[Quote=引用楼主 f15361110801 的回复:]
win7 64bit python2.7 mysql5.5

在命令中安装mysqldb时,
出现:

Traceback (most recent call last):
File "setup.py", line 15, in <module>
metadata, options = get_config()
File "D:\Download\MySQL-pyth……
[/Quote]

window下面不都是msi安装包吗,只有一步步next next,怎么会报code错误呢?
rucypli 2011-10-22
  • 打赏
  • 举报
回复
是真没见过 是怎么装的

56,687

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧