ubuntu18 安装mysqlclient报错Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8139q6vm/mysqlclient/
Django2.2之后,pymysql不能用了,需要安装mysqlclient
ubuntu18 安装mysqlclient报错OSError: mysql_config not found
,缺少依赖导致
sudo apt-get install libmysqlclient-dev
sudo apt install libssl-dev
sudo apt install libcrypto++-dev
pip3 install mysqlclient
我在想我要不要写一句励志的话......