本文介绍了需要帮助以Python安装MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试安装。两个问题:

1)网络上的说明说安装是

1) Instructions over the net says installation is

python setup.py


,结果是

For me, it results with

can't open file 'setup.py': [Errno 2] No such file or directory

2)README.txt说:

2) README.txt says:

The Z MySQL database adapter uses the MySQLdb package.
This must be installed before you can use the Z MySQL DA. You can find this at: http://sourceforge.net/projects/mysql-python


只会导致程序包本身,而不是任何东西

Which simply leads to the package itself, not anything else.

谢谢您的帮助。

PS。我使用的是Mac + Leopard。

PS. I'm using a Mac + Leopard.

推荐答案

您正在混淆( ZMySQLDA ) 软件包。
如果没有帮助,请尝试之一,请访问。
请注意,源干线显然分为 ZMySQLDA / MySQLdb /

You are confusing A Zope product (ZMySQLDA) with the python-mysqldb package.Try one of the download files, if it doesn't help, go for the source.Note that the source trunk is clearly divided into ZMySQLDA/ and MySQLdb/ .

这篇关于需要帮助以Python安装MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 04:36
查看更多