can't pip install mysql-python

前端 未结 4 690
攒了一身酷
攒了一身酷 2020-12-01 16:31

I\'m trying to get django/pip/mysql working and i can\'t seem to figure out how to install mysql-python. this is the error i receive when trying to install mysql-python

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 16:53

    First create path as below by running into terminal

    export PATH=/usr/local/mysql/bin:$PATH

    After doing this run following command to terminal

    sudo pip3 install flask-mysqldb

提交回复
热议问题