Why can't easy_install find MySQLdb?

前端 未结 3 894
刺人心
刺人心 2021-01-30 00:58

This is what I tried:

$ easy_install-2.6 -d /home/user/lib/python2.6 MySQLdb  
Searching for MySQLdb  
Reading http://pypi.python.org/simple/MySQLdb/  
Couldn\'t         


        
3条回答
  •  情歌与酒
    2021-01-30 01:34

    You have the wrong package name.

    MySQL-python is the right one:

    easy_install MySQL-python
    

    or

    pip install MySQL-python
    

提交回复
热议问题