localstack / aws-sam-cli-local

Simple wrapper around AWS SAM CLI for use with LocalStack
Apache License 2.0
48 stars 8 forks source link

samlocal compatibility with sam cli v1.15.0 #2

Closed vrjram closed 3 years ago

vrjram commented 3 years ago

Hi, I followed the aws sam installation on linux to use brew to install sam cli.

I had followed the instruction at AWS

sam --version
SAM CLI, version 1.15.0

Is there a dependency and a working version of sam cli required for this to work.

Please advice.

Thank you

pip install aws-sam-cli-local Collecting aws-sam-cli-local Using cached aws-sam-cli-local-1.1.0.1.tar.gz (2.7 kB) ERROR: Could not find a version that satisfies the requirement aws-sam-cli>=1.1.0 (from aws-sam-cli-local) (from versions: 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.7.0, 0.8.0, 0.8.1, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.16.0, 0.16.1, 0.17.0, 0.18.0, 0.19.0, 0.20.0, 0.20.1, 0.21.0, 0.22.0, 0.23.0) ERROR: No matching distribution found for aws-sam-cli>=1.1.0 (from aws-sam-cli-local)

vrjram commented 3 years ago

Looks like the pip didnt have visibility of sam cli because it was installed as sudo. I was able to install it when I did the install as sudo.