IF YOU GOT THESE ERRORS:
ddev composer install
return errors
docker executable file not found in PATH
and
Failed to start mars-pn: Failed to exec docker-compose: exec: "docker-compose": executable file not found in $PATH
and
docker–compose –version
return
Command 'docker–compose' not found, did you mean:
command 'docker-compose' from deb docker-compose
Try: sudo apt install <deb name>
FIX error
pyrsistent requires Python '>=3.5' but the running Python is 2.7.17
try to install python 3
install python 3
sudo apt-get -y -qq update
sudo apt-get install python3-pip python3-dev build-essential
sudo pip3 install --upgrade setuptools
sudo pip3 install awsebcli --upgrade
then install
pip3 install docker-compose