Installieren Sie Sam Cli Ubuntu

I had the same issue and here's how I installed aws-sam-cli

Make sure you uninstall aws-sam-local if you have an older version with

npm uninstall -g aws-sam-local
Then run

pip install --user --upgrade setuptools
pip install ez_setup
pip install --user --upgrade aws-sam-cli
Santino