apt install docker-compose
on Debian based systems will install all the python modules and links required to run docker if your server doesn't install them by default.