ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
使用pip install mysqlclient 安装出现错误 那是因为没有安装mysql依赖造成的首先执行:
sudo apt-get install update #更新软件列表
sudo apt-get install upgrade #更新软件
sudo apt-get install libmysqlclient-dev
pip install mysqlclient
这样就可以解决以上问题。