Unable to install mysqlclient on centos

前端 未结 5 2123
别跟我提以往
别跟我提以往 2021-01-14 05:36

I am building a django app and for which i need to configure mysql.I am trying to install mysqlclient module for sql connection and this is what i am trying

         


        
5条回答
  •  失恋的感觉
    2021-01-14 06:10

    The simplest solution that worked for me is:

    yum install python-devel mysql-devel
    

    Then install mysqlclient using pip

    pip install mysqlclient
    

提交回复
热议问题