centos : VM-12-7-centos
When using python to install docker-compose
, it is prompted, so you need to install python,
# install python
sudo yum install python3
# install compse
sudo pip install docker-compose
## An error occurred
fatal error: pyconfig.h: No such file or directory
install python36-devel
can solve this problem.
sudo yum install python36-devel