pip安装软件时出现Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build*的解决方案

1.报错原因是缺少依赖,正确的安装应该是先安装python36U yum install python36u python36u-devel
2,如果还是不行再通过 yum install gcc mariadb-devel 安装 gcc mariadb-devel

3.最后直接pip install mysqlclient

你可能感兴趣的:(django,centos,django,mysqlclient)