ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-zsbbp6ce/mysq

对于Lunix和Mac计算机,安装mysqlclient必备组件

Debian / Ubuntu- sudo apt-get install python-dev default-libmysqlclient-dev

红帽/ CentOS- sudo yum install python-devel mysql-devel

macOS(自制)- brew install mysql-client

你可能感兴趣的:(linux)