遇到的问题:
pip install docker-compose
出现错误:
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
解决方法
[root@m01 ~]# yum install -y gcc
[root@m01 ~]# yum install -y libffi-devel python-devel openssl-devel