这是我在尝试安装MySQL-python-1.2.3时遇到的错误.有任何想法吗?
Traceback (most recent call last):
File "C:\Documents and Settings\Desktop\MySQL-python-1.2.3\setup.py", line 15, in <module>
metadata, options = get_config()
File "C:\Documents and Settings\Desktop\MySQL-python-1.2.3\setup_windows.py", line 7, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['registry_key'])
WindowsError: [Error 2] The system cannot find the file specified
Run Code Online (Sandbox Code Playgroud)
试图在Windows XP机器上的Python 2.7上安装它
请查看此页面:http://www.lfd.uci.edu/~gohlke/pythonlibs/并搜索"MySQL-python".你会发现一些预编译的MySQL-python for Windows包.也许其中一个会对你好.
使用其中一个(对于Windows 7)是我发现使MySQL-python在Windows上运行的唯一方法.
| 归档时间: |
|
| 查看次数: |
3386 次 |
| 最近记录: |