OK so you seem to have the old version installed. I don’t know why this would interfere, but the error from above is always reported with the old standalone version… try to remove it, it should be the docker-compose-plugin package
apt remove docker-compose-plugin
(it’s Ubuntu you are using, right?)