Skip to content Skip to sidebar Skip to footer

Need Help Installing Mysql For Python

Trying to install MySQL for Python. Two problems: 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

Solution 1:

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/ .

Solution 2:

If you're using a Debian based distro you can :

apt-get install python-mysqldb ( or aptitude if you prefer ).

Post a Comment for "Need Help Installing Mysql For Python"