Python3.2: Installing MySQL-python fails with error “No module named ConfigParser”
问题 I want to use SQLAlchemy with MySQL database. I've created the Engine and tried to connect but I get an error as follows. from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base Engine = create_engine('mysql+mysqldb://dbuser:pass@localhost/mydb') Base = declarative_base(Engine) That fails with the error: File "/usr/local/lib/python3.2/dist-packages/SQLAlchemy-0.8.0b2-py3.2.egg/sqlalchemy/connectors/mysqldb.py", line 57, in dbapi return __import__('MySQLdb'