How to install MySQLdb package? (ImportError: No module named setuptools)

后端 未结 11 1152
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-25 10:20

I am trying to install MySQLdb package. I found the source code here.

I did the following:

gunzip MySQL-python-1.2.3c1.tar.gz
tar xvf MySQL-python-1.         


        
11条回答
  •  太阳男子
    2020-12-25 11:13

    I resolved this issue on centos5.4 by running the following command to install setuptools

    yum install python-setuptools

    I hope that helps.

提交回复
热议问题