ubuntu 20.04安装mysqlclient

ubuntu 20.04安装mysqlclient

apt install libmysqlclient-dev	# 先安装这个,再安装mysqlclient
pip3 install mysqlclient
---------------------------------------------------------------
apt install gcc # 如果上面安装包错,那就安装gcc,再执行上面的命令

你可能感兴趣的:(Ubuntu,ubuntu)