farcepest / MySQLdb1

MySQL database connector for Python (legacy version)
https://sourceforge.net/projects/mysql-python/
666 stars 318 forks source link

Py2/3 Compatible Imports for ConfigParser #126

Open teward opened 7 years ago

teward commented 7 years ago

Py3 renamed 'ConfigParser' to 'configparser'. This fails on Py3 setup, because it tries to import 'ConfigParser' and not 'configparser'. Otherwise it should work identically.

Note that I got here from the PyPI page. Unless you upload a Python2 only wheel and not a Python3 wheel, it's going to be able to install from the source you uploaded, which is not yet Python3 compatible. However, this change should fix the Py3 problem.

hugovk commented 6 years ago

These are duplicates: #59, #126, #136, #138.

A fix is also included in #62.