Django|django项目部署时解决mysqlclient安装出错问题

安装以下依赖

sudo apt install python3-dev sudo apt install libmysqld-dev sudo apt install libssl-dev sudo apt install gcc

【Django|django项目部署时解决mysqlclient安装出错问题】之后再执行pip install mysqlclient

    推荐阅读