pip3 安装mysqlclient 出错解决办法

错误提示:

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install*******/mysqlclient/

解决办法:

sudo apt-get install libmysqlclient-dev

sudo pip3 install mysqlclient

发表评论