通过pip安装即可,通过pip安装1.23.2版本的可以成功安装上,命令pip3 install docker-compose==1.23.2 -i https://mirrors.aliyun.com/pypi/simple/