views:

685

answers:

1

$ easy_install-2.6 -d /home/user/lib/python2.6 MySQLdb
Searching for MySQLdb
Reading http://pypi.python.org/simple/MySQLdb/
Couldn't find index page for 'MySQLdb' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for MySQLdb
error: Could not find suitable distribution for Requirement.parse('MySQLdb')

+5  A: 

You have the wrong package name.

MySQL-python is the right one:

easy_install MySQL-python
Adam Bernier
I looks like this is currently installing MySQL-python 1.2.2, which does not contain MySQLdb 1.2.3
BryanWheelock
Right you are. Link fixed.
Adam Bernier