Closed christoph-zero closed 8 months ago
Same issue on Linux using brew community version of aws-sam-cli 1.99.
In my case I downgraded the version and it worked. If someone knows how to solve this problem in v1.99.0 pleaseet me know
In my case I downgraded the version and it worked. If someone knows how to solve this problem in v1.99.0 pleaseet me know @abhiyankhanal
can you share how you downgraded?
I found this similar issue on the homebrew repo: https://github.com/Homebrew/homebrew-core/issues/151657
Based on the responses, I resolved the issue (for me, at least) by running:
brew update && brew upgrade
brew reinstall python-pytz
You have have to uninstall/reinstall sam after that, but just these two commands worked for me.
Hello all, as mentioned in https://github.com/aws/aws-sam-cli/issues/5613 installation through homebrew is now maintained by the community-managed formula. Thanks @joshbegin for linking a similar issue on the homebrew repository. We recommend installing SAM CLI using the installers that we maintain. More information for installation can be found in https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html.
The community managed version 1.99 did not help. Official installer mentioned by @hnnasit fixed the problem for me
Thank you @joshbegin and @hnnasit. Is there any fix planned from this community managed package?
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Description:
After upgrade aws-sam-cli to 1.99.0 via
brew upgrade
thesam deploy
command fails with message:Steps to reproduce:
Observed result:
brew
).brew uninstall aws-sam-cli && brew untap aws/tap && brew cleanup aws/tap && brew update && brew install aws-sam-cli
(see "Switching to the community managed Homebrew installer" at https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.html#manage-sam-cli-versions-homebrew)Expected result:
No Python module errors
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 1.99.0