Why can't easy_install find MySQLdb?

前端 未结 3 895
刺人心
刺人心 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:30

    If you are using "yum" the command is sudo yum install python-devel (where 'sudo' may be optional depending on your user account)

提交回复
热议问题