为什么easy install无法获取mysql?
我正在使用 Windows 7 并尝试安装 mysql-python。
> easy_install MySQL-python
Searching for MySQL-python
Reading http://pypi.python.org/simple/MySQL-python/
Reading http://sourceforge.net/projects/mysql-python/
Reading http://sourceforge.net/projects/mysql-python
Best match: MySQL-python 1.2.3
Downloading http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz
Processing MySQL-python-1.2.3.tar.gz
Running MySQL-python-1.2.3\setup.py -q bdist_egg --dist-dir
c:\users\develo~1\appdata\local\temp\easy_install-gwhmn3\MySQL-python-1.2.3\egg-dist-tmp-co6v2g
error: The system cannot find the file specified
有错误,没有安装。
I am using Windows 7 and trying to install mysql-python.
> easy_install MySQL-python
Searching for MySQL-python
Reading http://pypi.python.org/simple/MySQL-python/
Reading http://sourceforge.net/projects/mysql-python/
Reading http://sourceforge.net/projects/mysql-python
Best match: MySQL-python 1.2.3
Downloading http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz
Processing MySQL-python-1.2.3.tar.gz
Running MySQL-python-1.2.3\setup.py -q bdist_egg --dist-dir
c:\users\develo~1\appdata\local\temp\easy_install-gwhmn3\MySQL-python-1.2.3\egg-dist-tmp-co6v2g
error: The system cannot find the file specified
There is an error and it is not installed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
既然您使用的是 Windows,为什么不直接转到 python-mysql 安装文件 下载安装程序并安装。
Since you are using Windows, why not just goto python-mysql installation files and download the installer and install it.
我找到了解决这个问题的方法。
我从 此处
下载了 mysql-python windows 二进制文件
安装了它,现在工作正常。
i found a way around this problem.
i downloaded mysql-python windows binary from here
installed it and now it working fine.