Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-qhrdtysk/mysqlclient/(

Posted wx60e6e4f1083d7

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-qhrdtysk/mysqlclient/(相关的知识,希望对你有一定的参考价值。

在linux中pip install mysqlclient时报错

解决方案:
先安装mysql

sudo apt-get -y install mysql-server                  
sudo apt-get -y install mysql-client             
sudo apt-get -y install libmysqlclient-dev

然后再安装mysqlclient

pip install mysqlclient==2.0.1

 

以上是关于Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-qhrdtysk/mysqlclient/(的主要内容,如果未能解决你的问题,请参考以下文章

解决 Command "python setup.py egg_info" failed with error code 1 问题

在执行 pip install 时遇到错误:python setup.py egg_info Check the logs for full command output

Command "python setup.py egg_info" failed with error code 1一种问题的解决方法

解决安装ipython时Command "python setup.py egg_info" failed with error code 1 in /tmp

pip install报python setup.py egg_info Check the logs for full command output.

pip install报python setup.py egg_info Check the logs for full command output.