Error: Unable to find a match: python-devel

环境:

centos :VM-12-7-centos 

背景

在使用python安装docker-compose时,提示,所以需要安装python,

//安装python
sudo yum install python3
//安装compse
sudo pip install docker-compose
出现错误
fatal error: pyconfig.h: No such file or directory

解决:
sudo yum install python36-devel

你可能感兴趣的:(Error: Unable to find a match: python-devel)