Need help installing MySQL for Python

Trying to install MySQL for Python . Two problems:

1) Network instructions say installation

python setup.py
For me this is obtained using
can't open file 'setup.py': [Errno 2] No such file or directory

2) README.txt says:

The MySQL Z database adapter uses the MySQLdb package. 
This must be installed before you can use Z MySQL DA. You can find this at: http://sourceforge.net/projects/mysql-python
It just leads to the package itself, and not to anything else.

Thank you for your help.

PS. I am using Mac + Leopard.

0
source share
2

A Zope product (ZMySQLDA) python-mysqldb. , , source. , ZMySQLDA/ MySQLdb/.

+2

, Debian, :

apt-get install python-mysqldb ( aptitude, ).

+1

Source: https://habr.com/ru/post/1720339/


All Articles