我正在使用 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
出现错误,未安装。
最佳答案
既然您使用的是 Windows,为什么不直接转到 python-mysql installation files并下载安装程序并安装。
关于python - 为什么easy install无法获取mysql?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9052041/