Paul's Programming Notes
PostsRSSGithub

pip install MySQLdb

27 Jan 2014

In case you haven’t already noticed, the command in the title won’t work.

You need to use: pip install MySQL-python (Python 2 only; mysqlclient is its maintained fork for Python 3)

This article explains the correct approach: http://mysql-python.blogspot.com/2012/11/is-mysqldb-hard-to-install.html

pythonmysql

Related posts

  • SQLalchemy - Print Tables In Database (Show Tables) 28 Jan 2014
  • invalid byte sequence for encoding "UTF8" - sqlalchemy 30 Jan 2014
  • Error Handling In mysqldb - Python 06 Oct 2013
© 2026. All rights reserved.